]> git.pld-linux.org Git - packages/openl2tp.git/commitdiff
- added tmpfiles config for systemd
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 31 Jan 2012 11:31:51 +0000 (11:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openl2tp.spec -> 1.4

openl2tp.spec

index 922921e9d5b8b58e8af1427379edd581f23785ab..d36659337fd634cc71f5b5e71f352e70d40b75e1 100644 (file)
@@ -9,6 +9,7 @@ Source0:        http://dl.sourceforge.net//openl2tp/%{name}-%{version}.tar.gz
 # Source0-md5: e3d08dedfb9e6a9a1e24f6766f6dadd0
 Source1:       %{name}d.init
 Source2:       %{name}d.sysconfig
+Source3:       %{name}.tmpfiles
 Patch0:                %{name}-no_Werror.patch
 Patch1:                %{name}-setkey.patch
 URL:           http://www.openl2tp.org/
@@ -60,12 +61,15 @@ or applications that use the OpenL2TP APIs.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig,/var/run/%{name}}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig,/var/run/%{name}} \
+       $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/openl2tpd
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/openl2tpd
+install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 touch $RPM_BUILD_ROOT%{_sysconfdir}/openl2tpd.conf
 
 %clean
@@ -90,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/openl2tpd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openl2tpd.conf
 %dir /var/run/%{name}
+/usr/lib/tmpfiles.d/%{name}.conf
 
 %files devel
 %defattr(644,root,root,755)
This page took 1.033867 seconds and 4 git commands to generate.