packages (GLIBC_2_14): glibc/glibc.spec - added tmpfiles config for systemd

baggins baggins at pld-linux.org
Tue Jan 31 13:09:09 CET 2012


Author: baggins                      Date: Tue Jan 31 12:09:09 2012 GMT
Module: packages                      Tag: GLIBC_2_14
---- Log message:
- added tmpfiles config for systemd

---- Files affected:
packages/glibc:
   glibc.spec (1.940 -> 1.940.2.1) 

---- Diffs:

================================================================
Index: packages/glibc/glibc.spec
diff -u packages/glibc/glibc.spec:1.940 packages/glibc/glibc.spec:1.940.2.1
--- packages/glibc/glibc.spec:1.940	Mon Nov 28 01:08:57 2011
+++ packages/glibc/glibc.spec	Tue Jan 31 13:09:03 2012
@@ -51,6 +51,7 @@
 Source6:	%{name}-localedb-gen
 Source7:	%{name}-LD-path.c
 Source8:	nscd.upstart
+Source9:	nscd.tmpfiles
 Patch0:		%{name}-restore-rpc+nis.patch
 Patch1:		%{name}-pl.po-update.patch
 Patch2:		%{name}-pld.patch
@@ -1038,7 +1039,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{default,logrotate.d,rc.d/init.d,sysconfig,init},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd,/var/cache/ldconfig}
+install -d $RPM_BUILD_ROOT/etc/{default,logrotate.d,rc.d/init.d,sysconfig,init} \
+	$RPM_BUILD_ROOT{%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd,/var/cache/ldconfig} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 cd builddir
 env LANGUAGE=C LC_ALL=C \
@@ -1116,6 +1119,8 @@
 : > $RPM_BUILD_ROOT/var/lib/nscd/group
 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
 
+install %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/nscd.conf
+
 rm -rf documentation
 install -d documentation
 
@@ -1710,6 +1715,7 @@
 %attr(755,root,root) %{_sbindir}/nscd*
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
 %attr(640,root,root) %ghost /var/log/nscd
+/usr/lib/tmpfiles.d/nscd.conf
 %dir /var/run/nscd
 %dir /var/lib/nscd
 %attr(600,root,root) %ghost /var/lib/nscd/passwd
@@ -1784,6 +1790,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.940.2.1  2012/01/31 12:09:03  baggins
+- added tmpfiles config for systemd
+
 Revision 1.940  2011/11/28 00:08:57  glen
 - move sotruss (and sotruss-lib) to -misc, to avoid dependency loops (glibc package should not depend on shell)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/glibc/glibc.spec?r1=1.940&r2=1.940.2.1&f=u



More information about the pld-cvs-commit mailing list