packages: autossh/autossh.spec - rel 3 - added tmpfiles config for systemd

baggins baggins at pld-linux.org
Mon Jan 30 21:43:18 CET 2012


Author: baggins                      Date: Mon Jan 30 20:43:18 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- added tmpfiles config for systemd

---- Files affected:
packages/autossh:
   autossh.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/autossh/autossh.spec
diff -u packages/autossh/autossh.spec:1.20 packages/autossh/autossh.spec:1.21
--- packages/autossh/autossh.spec:1.20	Wed Jun 24 21:05:37 2009
+++ packages/autossh/autossh.spec	Mon Jan 30 21:43:13 2012
@@ -3,12 +3,13 @@
 Summary(pl.UTF-8):	Automatyczny restart sesji i tuneli SSH
 Name:		autossh
 Version:	1.4b
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/Networking
 Source0:	http://www.harding.motd.ca/autossh/%{name}-%{version}.tgz
 Source1:	%{name}.init
 Source2:	%{name}.tab
+Source3:	%{name}.tmpfiles
 # Source0-md5:	8f9aa006f6f69e912d3c2f504622d6f7
 URL:		http://www.harding.motd.ca/autossh/
 Requires:	openssh-clients
@@ -63,10 +64,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/run/%{name},%{_bindir},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/run/%{name},%{_bindir},%{_mandir}/man1} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/autossh.tab
+install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
 install autossh $RPM_BUILD_ROOT%{_bindir}
 install autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1
@@ -94,6 +97,7 @@
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.tab
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
+/usr/lib/tmpfiles.d/%{name}.conf
 %dir /var/run/autossh
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -102,6 +106,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2012/01/30 20:43:13  baggins
+- rel 3
+- added tmpfiles config for systemd
+
 Revision 1.20  2009/06/24 19:05:37  pawelz
 - start/stop service in %post/%pre scriptlets of init subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/autossh/autossh.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list