|
@@ -12,10 +12,11 @@ Source: lsyncd-%{version}.tar.gz
|
|
|
Source1: lsyncd.init
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
+BuildRequires: libxml2-devel
|
|
|
Requires: rsync
|
|
|
-Requires(post): /sbin/chkconfig
|
|
|
-Requires(preun): /sbin/chkconfig
|
|
|
-Requires(preun): /sbin/service
|
|
|
+Requires(post): chkconfig
|
|
|
+Requires(preun): chkconfig
|
|
|
+Requires(preun): initscripts
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -63,6 +64,7 @@ fi
|
|
|
%files
|
|
|
%defattr(-, root, root, 0755)
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS TODO lsyncd.conf.xml
|
|
|
+%{_sysconfdir}/rc.d/init.d/lsyncd
|
|
|
%{_bindir}/lsyncd
|
|
|
%{_mandir}/man1/lsyncd.1*
|
|
|
%{_mandir}/man5/lsyncd.conf.xml.5*
|