Update to 0.3 (close RHBZ#2268657)
This commit is contained in:
committed by
music
parent
c2ed49c209
commit
ae9470f609
+5
-12
@@ -1,5 +1,5 @@
|
||||
Name: python-flexcache
|
||||
Version: 0.2
|
||||
Version: 0.3
|
||||
Release: %autorelease
|
||||
Summary: Cache on disk the result of expensive calculations
|
||||
|
||||
@@ -7,18 +7,10 @@ License: BSD-3-Clause
|
||||
URL: https://github.com/hgrecco/flexcache
|
||||
Source: %{pypi_source flexcache}
|
||||
|
||||
# Add setuptools to the runtime dependencies
|
||||
#
|
||||
# This is needed for the “import pkg_resources” in the top-level
|
||||
# __init__.py.
|
||||
#
|
||||
# Downstream-only because version 0.3 of flexcache does not use pkg_resources,
|
||||
# so this is a temporary patch for version 0.2 only.
|
||||
Patch: flexcache-0.2-setuptools.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: tomcli
|
||||
|
||||
%global common_description %{expand:
|
||||
A robust and extensible package to cache on disk the result of expensive
|
||||
@@ -34,9 +26,10 @@ Summary: %{summary}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n flexcache-%{version} -p1
|
||||
%autosetup -n flexcache-%{version}
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
|
||||
sed -r -i 's/^([[:blank:]]*)\b(pytest-cov)\b/\1# \2/' setup.cfg
|
||||
tomcli set pyproject.toml lists delitem project.optional-dependencies.test \
|
||||
'pytest-cov*'
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
|
||||
Reference in New Issue
Block a user