SPECS: rpm.spec - added /etc/rpm/platform; machine scoring will be...
arekm
arekm at pld-linux.org
Thu Feb 8 15:06:43 CET 2007
Author: arekm Date: Thu Feb 8 14:06:43 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added /etc/rpm/platform; machine scoring will be done by regexps trough this file in future rpm
---- Files affected:
SPECS:
rpm.spec (1.790 -> 1.791)
---- Diffs:
================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.790 SPECS/rpm.spec:1.791
--- SPECS/rpm.spec:1.790 Thu Feb 8 14:47:53 2007
+++ SPECS/rpm.spec Thu Feb 8 15:06:38 2007
@@ -793,6 +793,8 @@
pylibdir=%{py_libdir} \
pkgbindir="%{_bindir}"
+echo "%{_target_cpu}-%{_target_vendor}-linux-gnu" > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform
+
%ifarch %{ppc}
#sed -e '/_target_platform/s/[%]{_target_cpu}/ppc/' \
# -i $RPM_BUILD_ROOT%{_rpmlibdir}/ppc74[05]0-linux/macros
@@ -974,7 +976,10 @@
%dir %{_sysconfdir}/rpm
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rpm/macros
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rpm/sysinfo
+# these are ok to be replaced
+%config %verify(not md5 mtime size) %{_sysconfdir}/rpm/sysinfo
+%config %verify(not md5 mtime size) %{_sysconfdir}/rpm/platform
+
%{_mandir}/man8/rpm.8*
%lang(fr) %{_mandir}/fr/man8/rpm.8*
@@ -1180,6 +1185,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.791 2007/02/08 14:06:38 arekm
+- added /etc/rpm/platform; machine scoring will be done by regexps trough this file in future rpm
+
Revision 1.790 2007/02/08 13:47:53 arekm
- rel 11; should fix _host, _build, _target issues
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/rpm.spec?r1=1.790&r2=1.791&f=u
More information about the pld-cvs-commit
mailing list