Author: glen Date: Wed Feb 16 14:15:41 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- put programs to libdir, you don't need them in your $PATH
---- Files affected:
SPECS:
cvsspam.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/cvsspam.spec
diff -u SPECS/cvsspam.spec:1.5 SPECS/cvsspam.spec:1.6
--- SPECS/cvsspam.spec:1.5 Tue Feb 15 23:02:29 2005
+++ SPECS/cvsspam.spec Wed Feb 16 15:15:36 2005
@@ -3,7 +3,7 @@
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
@@ -17,6 +17,7 @@
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.
@@ -37,9 +38,9 @@
%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
@@ -48,7 +49,8 @@
%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}/*
@@ -58,6 +60,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2005/02/16 14:15:36 glen
+- put programs to libdir, you don't need them in your $PATH
+
Revision 1.5 2005/02/15 22:02:29 glen
- --charset arg support (a patch of mine)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/cvsspam.spec?r1=1.5&r2=1.6&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit