Author: pawelz Date: Tue Jun 23 07:38:05 2009 GMT Module: packages Tag: HEAD ---- Log message: - adapterized (scripts must be executable!)
---- Files affected: packages/ftpsync: ftpsync.spec (1.2 -> 1.3) ---- Diffs: ================================================================ Index: packages/ftpsync/ftpsync.spec diff -u packages/ftpsync/ftpsync.spec:1.2 packages/ftpsync/ftpsync.spec:1.3 --- packages/ftpsync/ftpsync.spec:1.2 Tue Jun 23 09:23:27 2009 +++ packages/ftpsync/ftpsync.spec Tue Jun 23 09:38:00 2009 @@ -7,7 +7,7 @@ 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 @@ -25,14 +25,14 @@ %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 @@ -56,7 +56,7 @@ %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 @@ -66,6 +66,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.3 2009/06/23 07:38:00 pawelz +- adapterized (scripts must be executable!) + Revision 1.2 2009/06/23 07:23:27 pawelz - don't try to sed directory ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ftpsync/ftpsync.spec?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
