packages: NetworkManager/NetworkManager.spec, NetworkManager/NetworkManager...

baggins baggins at pld-linux.org
Mon Jan 30 00:23:39 CET 2012


Author: baggins                      Date: Sun Jan 29 23:23:39 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- added tmpfiles config for systemd

---- Files affected:
packages/NetworkManager:
   NetworkManager.spec (1.97 -> 1.98) , NetworkManager.tmpfiles (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/NetworkManager/NetworkManager.spec
diff -u packages/NetworkManager/NetworkManager.spec:1.97 packages/NetworkManager/NetworkManager.spec:1.98
--- packages/NetworkManager/NetworkManager.spec:1.97	Tue Jan 24 00:53:37 2012
+++ packages/NetworkManager/NetworkManager.spec	Mon Jan 30 00:23:34 2012
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Zarządca sieci dla GNOME
 Name:		NetworkManager
 Version:	0.9.2.0
-Release:	2
+Release:	3
 Epoch:		2
 License:	GPL v2+
 Group:		Networking/Admin
@@ -17,6 +17,7 @@
 # Source0-md5:	d7dce01e97758253bc4ed81d7b86045f
 Source1:	%{name}.conf
 Source2:	%{name}.upstart
+Source3:	%{name}.tmpfiles
 Patch0:		%{name}-pld.patch
 Patch1:		ifcfg-path.patch
 URL:		http://projects.gnome.org/NetworkManager/
@@ -172,7 +173,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/run/%{name},%{_sysconfdir}/%{name}/{VPN,dispatcher.d,system-connections}}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/run/%{name},/usr/lib/tmpfiles.d} \
+	$RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/{VPN,dispatcher.d,system-connections}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -182,6 +184,8 @@
 install -d $RPM_BUILD_ROOT/etc/init
 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/init/NetworkManager.conf
 
+install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 # Cleanup
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/NetworkManager/*.{a,la}
@@ -260,6 +264,7 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/NetworkManager.conf
 %attr(700,root,root) %dir /var/run/%{name}
 %attr(700,root,root) %dir /var/lib/%{name}
+/usr/lib/tmpfiles.d/%{name}.conf
 %{_mandir}/man1/nm-online.1*
 %{_mandir}/man1/nm-tool.1*
 %{_mandir}/man1/nmcli.1*
@@ -317,6 +322,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.98  2012/01/29 23:23:34  baggins
+- rel 3
+- added tmpfiles config for systemd
+
 Revision 1.97  2012/01/23 23:53:37  megabajt
 - added post/preun/postun macros for -systemd subpackage
 - added pl for -systemd

================================================================
Index: packages/NetworkManager/NetworkManager.tmpfiles
diff -u /dev/null packages/NetworkManager/NetworkManager.tmpfiles:1.1
--- /dev/null	Mon Jan 30 00:23:39 2012
+++ packages/NetworkManager/NetworkManager.tmpfiles	Mon Jan 30 00:23:34 2012
@@ -0,0 +1 @@
+d /var/run/NetworkManager 700 root root -
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/NetworkManager/NetworkManager.spec?r1=1.97&r2=1.98&f=u



More information about the pld-cvs-commit mailing list