diff --git a/.gitignore b/.gitignore index 4834e5a..7c560ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /apsw-3.7.15.2-r1.zip /apsw-3.8.0-r2.zip +/3.8.4.3-r1.tar.gz diff --git a/python-apsw.spec b/python-apsw.spec index 731e6b8..a0f1f4c 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -4,8 +4,8 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} %endif -%global sqlite_version 3.8.0 -%global uprel 2 +%global sqlite_version 3.8.4.3 +%global uprel 1 %global pkg_version %{sqlite_version}-r%{uprel} %filter_provides_in %{python_sitearch}/.*\.so$ @@ -16,12 +16,12 @@ Name: python-apsw Version: %{sqlite_version}.r%{uprel} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Another Python SQLite Wrapper -Source: http://apsw.googlecode.com/files/apsw-%{pkg_version}.zip -URL: http://code.google.com/p/apsw/ Group: Development/Libraries License: zlib +URL: http://code.google.com/p/apsw/ +Source: https://github.com/rogerbinns/apsw/archive/%{pkg_version}.tar.gz Requires: sqlite >= %{sqlite_version} @@ -54,7 +54,6 @@ complete SQLite API into Python 3. %prep %setup -q -n "apsw-%{pkg_version}" -rm doc/.buildinfo %if 0%{?with_python3} rm -rf %{py3dir} @@ -66,24 +65,22 @@ find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|' %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS="$RPM_OPT_FLAGS" python setup.py build %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +CFLAGS="$RPM_OPT_FLAGS" python3 setup.py build popd %endif # with_python3 %install -rm -rf %{buildroot} - %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install --root %{buildroot} +python3 setup.py install --root %{buildroot} popd %endif # with_python3 -%{__python} setup.py install --root %{buildroot} +python setup.py install --root %{buildroot} %files %doc doc/* @@ -96,6 +93,9 @@ popd %endif # with_python3 %changelog +* Sat May 10 2014 Peter Robinson 3.8.4.3.r1-1 +- update to 3.8.4.3r1 + * Tue Sep 24 2013 Marcel Wysocki - 3.8.0.r2-1 - update to 3.8.0-r2 diff --git a/sources b/sources index c79d673..d71de54 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3c09915c3dc334220dfcc4bc80ffed27 apsw-3.8.0-r2.zip +e61577de3e60c1822ce98da4027f09f3 3.8.4.3-r1.tar.gz