]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fix host_os, too
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 11 Oct 2009 18:34:39 +0000 (18:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.837.2.42.2.49.2.70

rpm.spec

index d888dbc34187a5fd659cd16014f3bcf64e95fc7a..a6f9ce3e149ae66ae1bda4c4fbf623c28c661b40 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -858,9 +858,12 @@ fi
 cd ..
 %endif
 
-# config.guess doesn't handle athlon, so we have to change it by hand.
 # rpm checks for CPU type at runtime, but it looks better
-sed -i -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' -e 's|@host_cpu@|%{_target_cpu}|' macros.in
+sed -i \
+       -e 's|@host@|%{_target_cpu}-%{_target_vendor}-%{_target_os}|' \
+       -e 's|@host_cpu@|%{_target_cpu}|' \
+       -e 's|@host_os@|%{_target_os}|' \
+       macros.in
 
 # pass CC and CXX too in case of building with some older configure macro
 # disable perl-RPM2 build, we have it in separate spec
This page took 0.043152 seconds and 4 git commands to generate.