]> git.pld-linux.org Git - packages/cvsspam.git/commitdiff
- put programs to libdir, you don't need them in your $PATH
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Feb 2005 14:15:36 +0000 (14:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cvsspam.spec -> 1.6

cvsspam.spec

index 52ad4d323225cfdeb3ddf19f806938064157eae8..761b8874e22a149626564c56fbd9844c3d878678 100644 (file)
@@ -2,7 +2,7 @@ Summary:        CVSspam emails you diffs when someone commits a change to your CVS repo
 Summary(pl):   CVSspam - wysy³anie ró¿nic po wykonaniu zmiany w repozytorium CVS
 Name:          cvsspam
 Version:       0.2.11
-Release:       2
+Release:       2.5
 Epoch:         0
 License:       GPL
 Group:         Applications/System
@@ -16,6 +16,7 @@ Requires:     ruby
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/%{name}
+%define                _libdir         %{_prefix}/%{_lib}/%{name}
 
 %description
 CVSspam sends email when a change is committed to the CVS repository.
@@ -36,9 +37,9 @@ mo
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_sysconfdir}}
 
-install collect_diffs.rb cvsspam.rb record_lastdir.rb $RPM_BUILD_ROOT%{_bindir}
+install {collect_diffs,cvsspam,record_lastdir}.rb $RPM_BUILD_ROOT%{_libdir}
 install cvsspam.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
@@ -47,6 +48,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CREDITS TODO cvsspam-doc.pdf cvsspam-doc.html
-%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}
+%attr(755,root,root) %{_libdir}/*
 %dir %{_sysconfdir}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.055032 seconds and 4 git commands to generate.