Browse Source

update to 2.6.3, add R: python(abi) = %{pyver}

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5731 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 12 years ago
parent
commit
dbc680552f
1 changed files with 11 additions and 5 deletions
  1. 11 5
      p/pysqlite/pysqlite-vl.spec

+ 11 - 5
p/pysqlite/pysqlite-vl.spec

@@ -1,7 +1,7 @@
 %define pyexeclib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
 %define name pysqlite
 %define major 2.6
-%define version 2.6.1
+%define version 2.6.3
 %define release 1%{?_dist_release}
 
 Summary: Python DB-API 2.0 interface for SQLite
@@ -9,12 +9,13 @@ Summary(ja): SQLite の Python バインディング
 Name: %{name}
 Version: %{version}
 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
 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
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
@@ -45,10 +46,15 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 %doc LICENSE doc
 %{pyexeclib}/pysqlite2/
-%{pyexeclib}/pysqlite-%{version}-py2.6.egg-info
+%{pyexeclib}/pysqlite-%{version}-py%{pyver}.egg-info
 %{_docdir}/pysqlite2-doc/
 
 %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
 - new upstream release