packages: python-Durus/python-Durus.spec - up to 3.9; more files

zbyniu zbyniu at pld-linux.org
Fri Jan 13 18:34:32 CET 2012


Author: zbyniu                       Date: Fri Jan 13 17:34:32 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 3.9; more files

---- Files affected:
packages/python-Durus:
   python-Durus.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/python-Durus/python-Durus.spec
diff -u packages/python-Durus/python-Durus.spec:1.18 packages/python-Durus/python-Durus.spec:1.19
--- packages/python-Durus/python-Durus.spec:1.18	Sun Jan 23 22:14:25 2011
+++ packages/python-Durus/python-Durus.spec	Fri Jan 13 18:34:26 2012
@@ -5,12 +5,12 @@
 Summary:	Durus - a persistent object system for applications written in the Python programming language
 Summary(pl.UTF-8):	Durus - system przechowywania obiektów aplikacji napisanych w języku programowania Python
 Name:		python-%{module}
-Version:	3.8
-Release:	2
+Version:	3.9
+Release:	1
 License:	CNRI
 Group:		Libraries/Python
 Source0:	http://www.mems-exchange.org/software/files/durus/%{module}-%{version}.tar.gz
-# Source0-md5:	75018ffc6682d09e5e0cdad065efa00a
+# Source0-md5:	a432b65bc9fdc24f80f768022d9a3c04
 URL:		http://www.mems-exchange.org/software/durus/
 BuildRequires:	python-devel >= 1:2.3
 BuildRequires:	python-modules
@@ -59,15 +59,16 @@
 %build
 export CFLAGS="%{rpmcflags}"
 %{__python} setup.py build_ext
+%{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{py_sitedir}}
 
 %{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT \
 	--install-lib=%{py_sitedir} \
-	--optimize=2
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
 
 %py_postclean
 
@@ -77,7 +78,11 @@
 %files
 %defattr(644,root,root,755)
 %doc ACKS.txt CHANGES.txt LICENSE.txt README.txt doc/FAQ.txt
-%{py_sitedir}/durus
+%{py_sitedir}/durus/*.py[co]
+%{py_sitedir}/durus/*.so
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/Durus-*.egg-info
+%endif
 
 %files -n Durus-utils
 %defattr(644,root,root,755)
@@ -89,6 +94,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2012/01/13 17:34:26  zbyniu
+- up to 3.9; more files
+
 Revision 1.18  2011/01/23 21:14:25  sparky
 - BR: rpm-pythonprov
 
@@ -150,4 +158,3 @@
 
 Revision 1.1  2004/07/26 18:23:03  zboczuch
 - initial PLD release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-Durus/python-Durus.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list