packages: nss_db/nss_db.spec - fix duplicate post; remove unneeded _noautoprov
glen
glen at pld-linux.org
Thu Feb 9 21:17:27 CET 2012
Author: glen Date: Thu Feb 9 20:17:27 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- fix duplicate post; remove unneeded _noautoprov
---- Files affected:
packages/nss_db:
nss_db.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: packages/nss_db/nss_db.spec
diff -u packages/nss_db/nss_db.spec:1.44 packages/nss_db/nss_db.spec:1.45
--- packages/nss_db/nss_db.spec:1.44 Thu Feb 9 21:11:46 2012
+++ packages/nss_db/nss_db.spec Thu Feb 9 21:17:22 2012
@@ -48,12 +48,12 @@
BuildRequires: libtool
Requires: glibc >= 6:2.3
Requires: make
+Requires(post): /sbin/ldconfig
Requires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# private symbols
-%define _noautoprov .*\(GLIBC_PRIVATE\)
-%define _noautoreq .*\(GLIBC_PRIVATE\)
+# glibc private symbols
+%define _noautoreq .*(GLIBC_PRIVATE)
%description
This is nss_db, a name service switch module that can be used with
@@ -173,10 +173,8 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
%post
+/sbin/ldconfig
if [ -f %{_sysconfdir}/nsswitch.conf ]; then
%{__sed} -i -e '
/^\(passwd\|group\|hosts\):/ !b
@@ -193,6 +191,8 @@
' %{_sysconfdir}/nsswitch.conf
fi
+%postun -p /sbin/ldconfig
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README THANKS
@@ -210,6 +210,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2012/02/09 20:17:22 glen
+- fix duplicate post; remove unneeded _noautoprov
+
Revision 1.44 2012/02/09 20:11:46 glen
- enable db on package install and removal (rfc which dbs exactly?); remove all when pkg removed
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nss_db/nss_db.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list