packages (rpm-4_5): rpm/rpm.spec - fix host_os, too
arekm
arekm at pld-linux.org
Sun Oct 11 20:34:45 CEST 2009
Author: arekm Date: Sun Oct 11 18:34:45 2009 GMT
Module: packages Tag: rpm-4_5
---- Log message:
- fix host_os, too
---- Files affected:
packages/rpm:
rpm.spec (1.837.2.42.2.49.2.69 -> 1.837.2.42.2.49.2.70)
---- Diffs:
================================================================
Index: packages/rpm/rpm.spec
diff -u packages/rpm/rpm.spec:1.837.2.42.2.49.2.69 packages/rpm/rpm.spec:1.837.2.42.2.49.2.70
--- packages/rpm/rpm.spec:1.837.2.42.2.49.2.69 Sun Sep 20 21:40:43 2009
+++ packages/rpm/rpm.spec Sun Oct 11 20:34:39 2009
@@ -859,9 +859,12 @@
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
@@ -1446,6 +1449,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.837.2.42.2.49.2.70 2009/10/11 18:34:39 arekm
+- fix host_os, too
+
Revision 1.837.2.42.2.49.2.69 2009/09/20 19:40:43 arekm
- db4.8 support
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm.spec?r1=1.837.2.42.2.49.2.69&r2=1.837.2.42.2.49.2.70&f=u
More information about the pld-cvs-commit
mailing list