From: Elan Ruusamäe Date: Thu, 27 Mar 2014 20:08:30 +0000 (+0200) Subject: do not "leak" only comments to platform file X-Git-Tag: auto/th/rpm-5.4.14-4~3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=10dbc44dda77965e49e25bfffe4d6bbaf5eeaada;p=packages%2Frpm.git do not "leak" only comments to platform file it does look confusing when i686 file contains only comment "x86-64 things" --- 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