Browse Source

lsyncd: fix file list

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1507 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 13 years ago
parent
commit
e2328353bc
1 changed files with 5 additions and 3 deletions
  1. 5 3
      l/lsyncd/lsyncd-vl.spec

+ 5 - 3
l/lsyncd/lsyncd-vl.spec

@@ -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*