SPECS: python-pysvn.spec - BR: rpm-pythonprov

qboosh qboosh at pld-linux.org
Wed May 7 20:36:52 CEST 2008


Author: qboosh                       Date: Wed May  7 18:36:52 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: rpm-pythonprov

---- Files affected:
SPECS:
   python-pysvn.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/python-pysvn.spec
diff -u SPECS/python-pysvn.spec:1.8 SPECS/python-pysvn.spec:1.9
--- SPECS/python-pysvn.spec:1.8	Fri Nov  2 12:33:53 2007
+++ SPECS/python-pysvn.spec	Wed May  7 20:36:46 2008
@@ -19,6 +19,7 @@
 BuildRequires:	subversion-devel
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
 %pyrequires_eq	python
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -48,7 +49,7 @@
 
 %build
 cd Source
-python ./setup.py configure \
+%{__python} ./setup.py configure \
 	--apr-inc-dir="$(apr-1-config --includedir)" \
 	--svn-lib-dir=%{_libdir}
 %{__make} \
@@ -62,7 +63,7 @@
 install -d $RPM_BUILD_ROOT%{py_sitedir}/pysvn
 
 install Source/pysvn/__init__.py Source/pysvn/*.so $RPM_BUILD_ROOT%{py_sitedir}/pysvn
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/Client/
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/Client
 install Examples/Client/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/Client
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
@@ -75,10 +76,10 @@
 %files
 %defattr(644,root,root,755)
 %doc Docs/*
-%{_examplesdir}/*
 %dir %{py_sitedir}/pysvn
 %attr(755,root,root) %{py_sitedir}/pysvn/*.so
 %{py_sitedir}/pysvn/*.py[co]
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -86,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008-05-07 18:36:46  qboosh
+- BR: rpm-pythonprov
+
 Revision 1.8  2007-11-02 11:33:53  shadzik
 - updated for new patch0
 - BR: pkgconfig (needed by patch0)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pysvn.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list