Author: glen Date: Tue Nov 29 14:33:28 2011 GMT Module: packages Tag: HEAD ---- Log message: - drop epoch 0
---- Files affected: packages/cvs2cl: cvs2cl.spec (1.7 -> 1.8) ---- Diffs: ================================================================ Index: packages/cvs2cl/cvs2cl.spec diff -u packages/cvs2cl/cvs2cl.spec:1.7 packages/cvs2cl/cvs2cl.spec:1.8 --- packages/cvs2cl/cvs2cl.spec:1.7 Mon Nov 28 20:54:30 2011 +++ packages/cvs2cl/cvs2cl.spec Tue Nov 29 15:33:23 2011 @@ -5,7 +5,6 @@ Name: cvs2cl Version: 2.73 Release: 1 -Epoch: 0 License: GPL v2 Group: Applications Source0: http://www.red-bean.com/cvs2cl/%{name}.pl @@ -33,25 +32,28 @@ %prep %setup -q -c -T -cp %{SOURCE0} . +cp -p %{SOURCE0} . # remove shell header for perl autoreqdep to work sed -i -e '1,/^#!perl -w/d' %{name}.pl # and add proper one sed -i -e '1i#!%{__perl} -w' %{name}.pl +%build +pod2man %{name}.pl > %{name}.1 + %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} -install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name} -pod2man %{name}.pl > $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 +install -p %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name} +cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/cvs2cl %{_mandir}/man1/cvs2cl.1* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -60,6 +62,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.8 2011/11/29 14:33:23 glen +- drop epoch 0 + Revision 1.7 2011/11/28 19:54:30 arekm - up to 2.73 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cvs2cl/cvs2cl.spec?r1=1.7&r2=1.8&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
