]> git.pld-linux.org Git - packages/rpm.git/commitdiff
do not "leak" only comments to platform file
authorElan Ruusamäe <glen@delfi.ee>
Thu, 27 Mar 2014 20:08:30 +0000 (22:08 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 27 Mar 2014 20:20:55 +0000 (22:20 +0200)
it does look confusing when i686 file contains only comment "x86-64 things"

rpm.spec

index 938c1f487863181bf7381fa4687deca5863d7907..99f1718780691eb2a6603054f87fada3f16851ad 100644 (file)
--- 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
 
This page took 0.04257 seconds and 4 git commands to generate.