X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=product-manifest.spec;fp=rpmbuild.spec;h=d839805ce689471a5ed7890fd5e7ec75b903cbde;hb=68d68efd1a91087fb072257a7fedf9cc34d206f9;hp=a5c3aad4bca18f6f6f4bdf7a52633e43d6cabab3;hpb=c55f8ebe4561848bfb02f0fb5381fd5e5bfb5aa4;p=ta%2Fmanifest.git diff --git a/rpmbuild.spec b/product-manifest.spec similarity index 59% rename from rpmbuild.spec rename to product-manifest.spec index a5c3aad..d839805 100644 --- a/rpmbuild.spec +++ b/product-manifest.spec @@ -1,10 +1,9 @@ Name: product-manifest -Version: 0 +Version: %{_platform_product_release_build_id} Release: 1%{?dist} Summary: Product build information License: %{_platform_licence} -Source0: %{name}-%{version}.tar.gz Vendor: %{_platform_vendor} BuildArch: noarch @@ -13,11 +12,13 @@ BuildArch: noarch Platform build information %prep -%autosetup %install mkdir -p %{buildroot}/etc -cp product-release %{buildroot}/etc/ +cat > %{buildroot}/etc/product-release <