packages: cvs2svn/cvs2svn.spec - verbose files, py2.4 compatible

glen glen at pld-linux.org
Fri Oct 30 17:02:09 CET 2009


Author: glen                         Date: Fri Oct 30 16:02:08 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- verbose files, py2.4 compatible

---- Files affected:
packages/cvs2svn:
   cvs2svn.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: packages/cvs2svn/cvs2svn.spec
diff -u packages/cvs2svn/cvs2svn.spec:1.28 packages/cvs2svn/cvs2svn.spec:1.29
--- packages/cvs2svn/cvs2svn.spec:1.28	Sun Sep 20 10:30:10 2009
+++ packages/cvs2svn/cvs2svn.spec	Fri Oct 30 17:02:03 2009
@@ -1,6 +1,5 @@
 # $Revision$, $Date$
-%define		_documentid	46528
-
+%define		documentid	46528
 Summary:	CVS to Subversion or GIT Repository Converter
 Summary(pl.UTF-8):	Konwerter repozytoriów CVS do Subversion lub GIT
 Name:		cvs2svn
@@ -8,10 +7,10 @@
 Release:	1
 License:	Apache/BSD-like
 Group:		Development/Version Control
-Source0:	http://cvs2svn.tigris.org/files/documents/1462/%{_documentid}/%{name}-%{version}.tar.gz
+Source0:	http://cvs2svn.tigris.org/files/documents/1462/%{documentid}/%{name}-%{version}.tar.gz
 # Source0-md5:	6c412baec974f3ff64b9145944682a15
 URL:		http://cvs2svn.tigris.org/
-BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
 %pyrequires_eq	python-modules
 Requires:	rcs
@@ -28,13 +27,12 @@
 %setup -q
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
-
-python setup.py install \
+%{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
@@ -47,10 +45,14 @@
 %defattr(644,root,root,755)
 %doc BUGS COMMITTERS README
 %doc www
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/cvs2bzr
+%attr(755,root,root) %{_bindir}/cvs2git
+%attr(755,root,root) %{_bindir}/cvs2svn
 %{py_sitescriptdir}/cvs2svn_rcsparse
 %{py_sitescriptdir}/cvs2svn_lib
+%if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/*.egg-info
+%endif
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2009/10/30 16:02:03  glen
+- verbose files, py2.4 compatible
+
 Revision 1.28  2009/09/20 08:30:10  arekm
 - up to 2.3.0
 
@@ -127,7 +132,7 @@
 - update to 1.0.0
 
 Revision 1.6  2004/07/28 08:03:13  troll
-- removed %%include /usr/lib/rpm/macros.python
+- removed %include /usr/lib/rpm/macros.python
 
 Revision 1.5  2004/07/21 18:37:02  qboosh
 - pl, unifications
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cvs2svn/cvs2svn.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list