SPECS: rpm.spec - add /var/cache/hrmib dir and initial fillup
glen
glen at pld-linux.org
Wed Feb 20 18:07:57 CET 2008
Author: glen Date: Wed Feb 20 17:07:57 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add /var/cache/hrmib dir and initial fillup
---- Files affected:
SPECS:
rpm.spec (1.878 -> 1.879)
---- Diffs:
================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.878 SPECS/rpm.spec:1.879
--- SPECS/rpm.spec:1.878 Tue Feb 19 21:51:48 2008
+++ SPECS/rpm.spec Wed Feb 20 18:07:51 2008
@@ -64,7 +64,7 @@
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 5.0.2
-Release: 0.5
+Release: 0.6
License: LGPL
Group: Base
Source0: http://rpm5.org/files/rpm/rpm-5.0/%{name}-%{version}.tar.gz
@@ -73,6 +73,7 @@
Source2: %{name}.platform
Source3: %{name}-install-tree
Source4: %{name}-find-spec-bcond
+Source5: %{name}-hrmib-cache
Source6: %{name}-groups-po.awk
Source7: %{name}-compress-doc
Source8: %{name}-check-files
@@ -742,7 +743,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/bin,/%{_lib},/etc/sysconfig,%{_sysconfdir}/rpm,/var/lib/banner}
+install -d $RPM_BUILD_ROOT{/bin,/%{_lib},/etc/sysconfig,%{_sysconfdir}/rpm,/var/lib/banner,/var/cache/hrmib}
%{__make} install \
pkgconfigdir=%{_pkgconfigdir} \
@@ -884,6 +885,7 @@
install %{SOURCE16} $RPM_BUILD_ROOT%{_rpmlibdir}/java-find-requires
install scripts/find-php* $RPM_BUILD_ROOT%{_rpmlibdir}
install scripts/php.{prov,req} $RPM_BUILD_ROOT%{_rpmlibdir}
+install %{SOURCE5} $RPM_BUILD_ROOT%{_rpmlibdir}/hrmib-cache
install %{SOURCE14} $RPM_BUILD_ROOT/etc/sysconfig/rpm
install %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/banner.sh
@@ -1041,6 +1043,9 @@
mkdir %{_sysconfdir}/rpm/sysinfo
fi
+%triggerpostun -- %{name} < 4.4.9-44
+%{_rpmlibdir}/hrmib-cache
+
%post lib -p /sbin/ldconfig
%postun lib -p /sbin/ldconfig
@@ -1078,6 +1083,10 @@
%dir /var/lock/rpm
/var/lock/rpm/transaction
+# exported package NVRA (stamped with install tid)
+# net-snmp hrSWInstalledName queries, bash-completions
+%dir /var/cache/hrmib
+
#%attr(755,root,root) %{_rpmlibdir}/rpmd
#%{!?with_static:%attr(755,root,root) %{_rpmlibdir}/rpm[eiu]}
#%attr(755,root,root) %{_rpmlibdir}/rpmk
@@ -1087,6 +1096,8 @@
%{_rpmlibdir}/macros
%{_rpmlibdir}/macros.pld
+%attr(755,root,root) %{_rpmlibdir}/hrmib-cache
+
%files base
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rpm
@@ -1266,6 +1277,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.879 2008-02-20 17:07:51 glen
+- add /var/cache/hrmib dir and initial fillup
+
Revision 1.878 2008-02-19 20:51:48 glen
- add scaremem patch, enable system lua
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm.spec?r1=1.878&r2=1.879&f=u
More information about the pld-cvs-commit
mailing list