]> git.pld-linux.org Git - packages/ftpsync.git/commitdiff
- adapterized (scripts must be executable!) master
authorpawelz <pawelz@pld-linux.org>
Tue, 23 Jun 2009 07:38:00 +0000 (07:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ftpsync.spec -> 1.3

ftpsync.spec

index 6a4ae4228c3c9f34c9877b92303ca9ae40d26d70..9dc4317ea85f45eecc6f189d61776ced7088d7ac 100644 (file)
@@ -6,7 +6,7 @@ Version:        8086
 Release:       0.1
 License:       GPL v2
 Group:         Applications
-Source0:       http://ftp-master.debian.org/ftpsync.tar.gz
+Source0:       http://ftp-master.debian.org/%{name}.tar.gz
 # Source0-md5: b824db81496648d8c298069d8b7bbbe5
 URL:           http://www.debian.org/mirror/ftpmirror
 Requires:      rsync
@@ -24,14 +24,14 @@ Zestaw skryptów do mirrorowania Debiana.
 %prep
 %setup -q -c
 
-sed -i 's,${BASEDIR}/etc,/etc/ftpsync,' bin/* etc/*.sample etc/common
+sed -i 's,${BASEDIR}/etc,%{_sysconfdir}/ftpsync,' bin/* etc/*.sample etc/common
 sed -i 's,${LOGDIR}/log,/var/log/ftpsync,' bin/* etc/*.sample etc/common
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/%{name}/secrets,%{_var}/{log,lib}/%{name}}
 
-install etc/common $RPM_BUILD_ROOT/etc/%{name}
+install etc/common $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
 install bin/* $RPM_BUILD_ROOT%{_bindir}
 
 %clean
@@ -55,6 +55,6 @@ fi
 %defattr(644,root,root,755)
 %doc README etc/*.sample
 %{_sysconfdir}/%{name}
-%{_bindir}/*
+%attr(755,root,root) %{_bindir}/*
 %attr(2751,root,ftpsync) %dir /var/log/ftpsync
 %attr(2751,ftpsync,ftpsync) %dir /var/lib/ftpsync
This page took 0.108524 seconds and 4 git commands to generate.