From b61298a2cbae4e8dee0425c16ee07bfa0cf90e9e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Oct 10 2020 20:42:15 +0000 Subject: Update to 1.0.2. Add patch to use older python-stevedore package in fedora for now for tests. --- diff --git a/.gitignore b/.gitignore index e758d24..4f6a811 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /dogpile.cache-0.6.8.tar.gz /dogpile.cache-0.8.0.tar.gz /dogpile.cache-0.9.0.tar.gz +/dogpile.cache-1.0.2.tar.gz diff --git a/dogpile.cache-1.0.2-older-stevedore.patch b/dogpile.cache-1.0.2-older-stevedore.patch new file mode 100644 index 0000000..16afa3a --- /dev/null +++ b/dogpile.cache-1.0.2-older-stevedore.patch @@ -0,0 +1,12 @@ +diff --color -Nur dogpile.cache-1.0.2.orig/setup.cfg dogpile.cache-1.0.2/setup.cfg +--- dogpile.cache-1.0.2.orig/setup.cfg 2020-08-07 10:11:16.466349100 -0700 ++++ dogpile.cache-1.0.2/setup.cfg 2020-10-10 13:31:02.293236221 -0700 +@@ -23,7 +23,7 @@ + [options] + install_requires = + decorator>=4.0.0 +- stevedore>=3.0.0 ++ stevedore + zip_safe = False + packages = find: + python_requires = >=3.6 diff --git a/python-dogpile-cache.spec b/python-dogpile-cache.spec index ff68f86..5f21925 100644 --- a/python-dogpile-cache.spec +++ b/python-dogpile-cache.spec @@ -22,14 +22,20 @@ dogpile.cache in a more efficient and succinct manner, and all the cruft\ heap. Name: python-dogpile-cache -Version: 0.9.0 -Release: 5%{?dist} +Version: 1.0.2 +Release: 1%{?dist} Summary: %{sum} License: MIT URL: https://pypi.io/project/dogpile.cache Source0: https://pypi.io/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz +# +# It is unclear why this is pinned at 3.0.0 upstream +# So remove the constraint for now until the fedora stevedore package +# is updated +Patch1: dogpile.cache-1.0.2-older-stevedore.patch + BuildArch: noarch BuildRequires: python3-decorator >= 4.0.0 @@ -38,6 +44,7 @@ BuildRequires: python3-mako BuildRequires: python3-mock BuildRequires: python3-pytest-cov BuildRequires: python3-setuptools +BuildRequires: python3-stevedore %description @@ -60,6 +67,7 @@ Obsoletes: python3-dogpile-core < 0.4.1-12 %prep %setup -q -n %{modname}-%{version} +%patch1 -p1 # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info @@ -82,6 +90,10 @@ rm -rf %{modname}.egg-info %{python3_sitelib}/%{modname}-%{version}-* %changelog +* Sat Oct 10 2020 Kevin Fenzi - 1.0.2-1 +- Update to 1.0.2. +- Add patch to use older python-stevedore package in fedora for now for tests. + * Sat Aug 01 2020 Fedora Release Engineering - 0.9.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 50fbf56..afce31d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dogpile.cache-0.9.0.tar.gz) = 061fe20d2c26ca9e76a43e0bde687177ca2c7b629803a123462e860858aadaf30837bc68bd0e748b78eb30ef1f5ce766272f91104cb1154de0a7e9c6a2f8c411 +SHA512 (dogpile.cache-1.0.2.tar.gz) = b49e9005916636aff0a25b9158923ea9362b3edf1f42704d06e65b14892d0cdb6b1da7d620f10d752efb1ae1987a9187b0f642cc30d07de3fc961921e1794a87