diff --git a/.gitignore b/.gitignore index e4015e3..11ce5cd 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /apsw-3.22.0-r1.zip /apsw-3.23.1-r1.zip /apsw-3.24.0-r1.zip +/apsw-3.28.0-r1.zip diff --git a/python-apsw.spec b/python-apsw.spec index 6b0c02c..2338d0c 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -1,14 +1,14 @@ # Deprecated Fedora support dropped, no need to track package versioning there. -%if 0%{?fedora} == 28 -%global sqlite_version 3.22.0 +%if 0%{?fedora} == 30 +%global sqlite_version 3.24.0 %global uprel 1 %global pkg_version %{sqlite_version}-r%{uprel} %endif -%if 0%{?fedora} >= 29 -%global sqlite_version 3.24.0 +%if 0%{?fedora} >= 31 +%global sqlite_version 3.28.0 %global uprel 1 %global pkg_version %{sqlite_version}-r%{uprel} %endif @@ -21,15 +21,14 @@ Name: python-apsw Version: %{real_version} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Another Python SQLite Wrapper License: zlib URL: https://github.com/rogerbinns/apsw Source: https://github.com/rogerbinns/apsw/releases/download/%{pkg_version}/apsw-%{pkg_version}.zip BuildRequires: gcc -BuildRequires: python2-devel -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel BuildRequires: sqlite-devel >= %{sqlite_version} Requires: sqlite >= %{sqlite_version} @@ -40,21 +39,11 @@ engine. In contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the complete SQLite API into Python. -%package -n python2-apsw -Summary: Another Python SQLite Wrapper -%{?python_provide:%python_provide python2-apsw} - -%description -n python2-apsw -APSW is a Python wrapper for the SQLite embedded relational database -engine. In contrast to other wrappers such as pysqlite it focuses on -being a minimal layer over SQLite attempting just to translate the -complete SQLite API into Python. - -%package -n python3-apsw +%package -n python%{python3_pkgversion}-apsw Summary: Another Python SQLite Wrapper -%{?python_provide:%python_provide python3-%{srcname}} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} -%description -n python3-apsw +%description -n python%{python3_pkgversion}-apsw APSW is a Python %{python3_version} wrapper for the SQLite embedded relational database engine. In contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the @@ -65,29 +54,25 @@ complete SQLite API into Python. rm -f doc/.buildinfo %build -%py2_build %py3_build %install -%py2_install %py3_install %check -PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} setup.py test PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} setup.py test -%files -n python2-apsw -%doc doc/* -%{python2_sitearch}/apsw*.so -%{python2_sitearch}/apsw*.egg-info - -%files -n python3-apsw +%files -n python%{python3_pkgversion}-apsw %doc doc/* %{python3_sitearch}/apsw*.so %{python3_sitearch}/apsw*.egg-info %changelog +* Mon Jul 01 2019 Denis Fateyev - 3.28.0.r1-1 +- Bump upstream version to 3.28.0 +- Removed deprecated Python 2 package + * Sat Feb 02 2019 Fedora Release Engineering - 3.24.0.r1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 273fde2..b040974 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (apsw-3.24.0-r1.zip) = 4ab549a81b2be4d5cea84d70e653b5e81dc30338b4dadb9fc6d634408187a6be665eec38771f2743d6bdb742dba5a957adb6c68b9982d79c1e6ab7743ed29054 +SHA512 (apsw-3.28.0-r1.zip) = 31b35208bf79644394a1cd7c39739e08e23717a279de6f7fa4e638d3b14b73e7bd698ab055898cc74869e9c5ce35c8854e6c6239640b592eb0f50872aa082496