rpms/aqbanking/devel aqbanking.spec,1.30,1.31

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jan 15 20:21:06 UTC 2007


Author: notting

Update of /cvs/dist/rpms/aqbanking/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv16908

Modified Files:
	aqbanking.spec 
Log Message:
use %{_python_sitelib}



Index: aqbanking.spec
===================================================================
RCS file: /cvs/dist/rpms/aqbanking/devel/aqbanking.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- aqbanking.spec	15 Jan 2007 19:22:57 -0000	1.30
+++ aqbanking.spec	15 Jan 2007 20:21:04 -0000	1.31
@@ -1,6 +1,8 @@
 %define backends aqhbci aqdtaus aqofxconnect
 %define frontends cbanking qbanking kbanking g2banking
 
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
 Name: aqbanking
 Summary: A library for online banking functions and financial data import/export
 Version: 2.1.0
@@ -250,13 +252,14 @@
 
 %files -n python-%{name}
 %defattr(-,root,root)
-/usr/lib/python?.?/site-packages/%{name}
+%{_python_sitelib}/%{name}
 
 %changelog
 * Mon Jan 15 2007 Bill Nottingham <notting at redhat.com> - 2.1.0-12
 - fix missing %%defattrs
 - fix %%excludes
 - other cleanups from review
+- use %%{_python_sitelib}
 
 * Sat Jan 13 2007 Bill Nottingham <notting at redhat.com> - 2.1.0-11
 - split into a variety of packages




More information about the fedora-cvs-commits mailing list