Changes of Revision 5
[-] | Changed | backuppc_community.spec |
x 1
2 Release: %{bpc_release}.%{disttag}%{distver} 3 Source: %{name}-%{version}.tar.gz 4 Patch0: %{name}-suse.patch 5 +Patch1: %{name}-suse-init.patch 6 License: GPL 7 %{?!packager:Packager: %(id -u -n)} 8 URL: http://www.backuppc.com/ 9
10 %prep 11 %setup -q 12 %patch0 -p1 13 +%patch1 14 %clean 15 if [ "%{buildroot}" != "/" ]; then 16 if [ -d "%{buildroot}" ] ; then 17 |
||
[+] | Added | backuppc_community-suse-init.patch ^ |
@@ -0,0 +1,17 @@ +--- init.d/src/suse-backuppc.orig 2009-02-01 21:33:08.000000000 +0100 ++++ init.d/src/suse-backuppc 2009-02-01 21:33:33.000000000 +0100 +@@ -6,6 +6,14 @@ + # + # Distributed with BackupPC version __VERSION__, released __RELEASEDATE__. + # ++### BEGIN INIT INFO ++# Provides: backuppc ++# Required-Start: $network $remote_fs ++# Required-Stop: $network $remote_fs ++# Default-Start: 3 5 ++# Default-Stop: 0 1 2 6 ++# Description: Start the backuppc daemon ++### END INIT INFO + + set -e + |