Code Review
/
ta
/
manifest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Start using latest REC RPMs available
[ta/manifest.git]
/
product-manifest.spec
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
(file)
--- a/
rpmbuild.spec
+++ b/
product-manifest.spec
@@
-1,10
+1,9
@@
Name: product-manifest
Name: product-manifest
-Version:
0
+Version:
%{_platform_product_release_build_id}
Release: 1%{?dist}
Summary: Product build information
License: %{_platform_licence}
Release: 1%{?dist}
Summary: Product build information
License: %{_platform_licence}
-Source0: %{name}-%{version}.tar.gz
Vendor: %{_platform_vendor}
BuildArch: noarch
Vendor: %{_platform_vendor}
BuildArch: noarch
@@
-13,11
+12,13
@@
BuildArch: noarch
Platform build information
%prep
Platform build information
%prep
-%autosetup
%install
mkdir -p %{buildroot}/etc
%install
mkdir -p %{buildroot}/etc
-cp product-release %{buildroot}/etc/
+cat > %{buildroot}/etc/product-release <<EOF
+release=%{_platform_product_release_label}
+build=%{_platform_product_release_build_id}
+EOF
%files
/etc/product-release
%files
/etc/product-release