[packages/rpm] do not "leak" only comments to platform file
glen
glen at pld-linux.org
Thu Mar 27 21:21:02 CET 2014
commit 10dbc44dda77965e49e25bfffe4d6bbaf5eeaada
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Mar 27 22:08:30 2014 +0200
do not "leak" only comments to platform file
it does look confusing when i686 file contains only comment "x86-64 things"
rpm.spec | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 938c1f4..99f1718 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -1101,7 +1101,6 @@ cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform
# first platform file entry can't contain regexps
%{_target_cpu}-%{_target_vendor}-linux
-# x86_64 things
%ifarch x86_64
x86_64-[^-]*-[Ll]inux(-gnu)?
amd64-[^-]*-[Ll]inux(-gnu)?
@@ -1115,7 +1114,6 @@ ia32e-[^-]*-[Ll]inux(-gnu)?
x86_64-[^-]*-[Ll]inux(-gnu)?
%endif
-# x86 things
%ifarch athlon %{x8664}
athlon-[^-]*-[Ll]inux(-gnu)?
%endif
@@ -1175,7 +1173,6 @@ sparcv9-[^-]*-[Ll]inux(-gnu)?
sparc-[^-]*-[Ll]inux(-gnu)?
%endif
-# noarch
noarch-[^-]*-.*
EOF
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/10dbc44dda77965e49e25bfffe4d6bbaf5eeaada
More information about the pld-cvs-commit
mailing list