From e91a2eeefdbd16ddeebf50d424c54fec586f9a54 Mon Sep 17 00:00:00 2001 From: Denis Fateyev Date: Jul 23 2018 21:54:44 +0000 Subject: python-apsw: bump upstream to 3.24.0-r1 --- diff --git a/.gitignore b/.gitignore index 7a94061..e4015e3 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /apsw-3.20.1-r1.zip /apsw-3.22.0-r1.zip /apsw-3.23.1-r1.zip +/apsw-3.24.0-r1.zip diff --git a/python-apsw.spec b/python-apsw.spec index d978b49..9d27d2d 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -1,15 +1,3 @@ -# Please don't flush global 'release' tag voluntarily after any upstream update -# since decreasing it can lead to discrepances with packages versioning. -# As a rule, if desired it can be decreased under these conditions: -# 1) 'apsw' upstream version bump in _all_ maintainable Fedora branches; -# 2) in all cases, it can't be less than 'release' tag value in _any_ maintainable -# EPEL branch (currently, "3" in epel7). - -%if 0%{?rhel} == 7 -%global sqlite_version 3.7.17 -%global uprel 1 -%global pkg_version %{sqlite_version}-r%{uprel} -%endif # Deprecated Fedora support dropped, no need to track package versioning there. @@ -20,29 +8,29 @@ %endif %if 0%{?fedora} >= 29 -%global sqlite_version 3.23.1 +%global sqlite_version 3.24.0 %global uprel 1 %global pkg_version %{sqlite_version}-r%{uprel} %endif %global real_version %(eval echo %{pkg_version} | %{__sed} 's/-/./') -%filter_provides_in %{python_sitearch}/.*\.so$ -%filter_provides_in %{python3_sitearch}/.*\.so$ +%filter_provides_in %{python2_sitearch}/.*\.so$ +%filter_provides_in %{python3_sitearch}/.*\.so$ %filter_setup Name: python-apsw Version: %{real_version} -Release: 5%{?dist} +Release: 1%{?dist} Summary: Another Python SQLite Wrapper Group: Development/Libraries 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: gcc BuildRequires: python2-devel -BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python3-devel BuildRequires: sqlite-devel >= %{sqlite_version} Requires: sqlite >= %{sqlite_version} @@ -63,11 +51,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 python%{python3_pkgversion}-apsw +%package -n python3-apsw Summary: Another Python SQLite Wrapper -%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} +%{?python_provide:%python_provide python3-%{srcname}} -%description -n python%{python3_pkgversion}-apsw +%description -n python3-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 @@ -86,21 +74,24 @@ rm -f doc/.buildinfo %py3_install %check -CFLAGS="%{optflags}" python%{python_version} setup.py build_ext --inplace test -CFLAGS="%{optflags}" python%{python3_version} setup.py build_ext --inplace test +CFLAGS="%{optflags}" %{__python2} setup.py build_ext --inplace test +CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace test %files -n python2-apsw %doc doc/* %{python2_sitearch}/apsw*.so %{python2_sitearch}/apsw*.egg-info -%files -n python%{python3_pkgversion}-apsw +%files -n python3-apsw %doc doc/* %{python3_sitearch}/apsw*.so %{python3_sitearch}/apsw*.egg-info %changelog +* Mon Jul 23 2018 Denis Fateyev - 3.24.0.r1-1 +- Bump upstream version to 3.24.0 + * Fri Jul 13 2018 Fedora Release Engineering - 3.22.0.r1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 12b78e4..273fde2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (apsw-3.23.1-r1.zip) = 8f3bc9e619ed8671a0804e6d3c9ecf34d452a4e6fe540fb23bfb6ae67578971013300ad6cdffe3be2fc1197c4fd3af096802aef5994cbe53253467133363ac62 +SHA512 (apsw-3.24.0-r1.zip) = 4ab549a81b2be4d5cea84d70e653b5e81dc30338b4dadb9fc6d634408187a6be665eec38771f2743d6bdb742dba5a957adb6c68b9982d79c1e6ab7743ed29054