|
@@ -1,7 +1,7 @@
|
|
%define pyexeclib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
|
|
%define pyexeclib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
|
|
%define name pysqlite
|
|
%define name pysqlite
|
|
%define major 2.6
|
|
%define major 2.6
|
|
-%define version 2.6.1
|
|
|
|
|
|
+%define version 2.6.3
|
|
%define release 1%{?_dist_release}
|
|
%define release 1%{?_dist_release}
|
|
|
|
|
|
Summary: Python DB-API 2.0 interface for SQLite
|
|
Summary: Python DB-API 2.0 interface for SQLite
|
|
@@ -9,12 +9,13 @@ Summary(ja): SQLite の Python バインディング
|
|
Name: %{name}
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Release: %{release}
|
|
-Source0: http://initd.org/pub/software/pysqlite/releases/%{major}/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
+Source0: http://pysqlite.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
License: redistributable
|
|
License: redistributable
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
-URL: http://initd.org/tracker/pysqlite
|
|
|
|
|
|
+URL: http://trac.edgewall.org/wiki/PySqlite
|
|
|
|
|
|
-Requires: python, sqlite3
|
|
|
|
|
|
+Requires: python(abi) = %{pyver}
|
|
|
|
+Requires: sqlite3
|
|
BuildRequires: python-devel, sqlite3-devel
|
|
BuildRequires: python-devel, sqlite3-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -45,10 +46,15 @@ rm -rf $RPM_BUILD_ROOT
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc LICENSE doc
|
|
%doc LICENSE doc
|
|
%{pyexeclib}/pysqlite2/
|
|
%{pyexeclib}/pysqlite2/
|
|
-%{pyexeclib}/pysqlite-%{version}-py2.6.egg-info
|
|
|
|
|
|
+%{pyexeclib}/pysqlite-%{version}-py%{pyver}.egg-info
|
|
%{_docdir}/pysqlite2-doc/
|
|
%{_docdir}/pysqlite2-doc/
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Feb 22 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+- update URL to new location
|
|
|
|
+- add R: python(abi) = %%{pyver}
|
|
|
|
+
|
|
* Mon Feb 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1
|
|
* Mon Feb 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|