SPECS: python-sqlite.spec - Up to 2.0.7, BR: updated accordingly, ...

japhy japhy at pld-linux.org
Mon Mar 20 14:47:04 CET 2006


Author: japhy                        Date: Mon Mar 20 13:47:04 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Up to 2.0.7, BR: updated accordingly, STBR

---- Files affected:
SPECS:
   python-sqlite.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/python-sqlite.spec
diff -u SPECS/python-sqlite.spec:1.22 SPECS/python-sqlite.spec:1.23
--- SPECS/python-sqlite.spec:1.22	Mon Oct 24 19:16:10 2005
+++ SPECS/python-sqlite.spec	Mon Mar 20 14:46:59 2006
@@ -5,15 +5,16 @@
 Summary:	A DB API v2.0 compatible interface to SQLite
 Summary(pl):	Interfejs do SQLite kompatybilny z DB API v2.0
 Name:		python-%{module}
-Version:	2.0.5
+Version:	2.0.7
 Release:	1
 License:	zlib/libpng
 Group:		Development/Languages/Python
 Source0:	http://initd.org/pub/software/pysqlite/releases/2.0/%{version}/pysqlite-%{version}.tar.gz
-# Source0-md5:	574bbb4f7b3a077506689cbab0d9bf7f
+# Source0-md5:	15ab26f859f8a0fd21659d4d105056a5
 URL:		http://www.pysqlite.org/
 %pyrequires_eq	python-modules
 BuildRequires:	python-devel >= 1:2.3
+BuildRequires:	python-setuptools >= 0.6a6
 BuildRequires:	sqlite3-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,10 +46,13 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT --optimize=2
+PYTHONPATH=$RPM_BUILD_ROOT%{py_sitedir} \
+	python setup.py install \
+	--root=$RPM_BUILD_ROOT --optimize=2 \
+	--single-version-externally-managed
 
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/%{module}/*.py
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/pysqlite2/{,test/}*.py \
+	$RPM_BUILD_ROOT%{_prefix}/pysqlite2-doc
 cp -aR doc/code/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
@@ -56,12 +60,14 @@
 
 %files
 %defattr(644,root,root,755)
-%doc doc/*.html doc/*.css
+%doc doc/*.txt
 %dir %{py_sitedir}/pysqlite2
 %{py_sitedir}/pysqlite2/*.py[co]
 %attr(755,root,root) %{py_sitedir}/pysqlite2/_%{module}.so
 %dir %{py_sitedir}/pysqlite2/test
 %{py_sitedir}/pysqlite2/test/*.py[co]
+%dir %{py_sitedir}/*.egg-info
+%{py_sitedir}/*.egg-info/*
 %dir %{_examplesdir}/%{name}-%{version}
 %{_examplesdir}/%{name}-%{version}/*
 
@@ -71,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2006/03/20 13:46:59  japhy
+- Up to 2.0.7, BR: updated accordingly, STBR
+
 Revision 1.22  2005/10/24 17:16:10  twittner
 - up to 2.0.5
 - license changed to zlib/libpng (in accordance with freshmeat.net
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-sqlite.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list