Update to 1.0.9

Run tests in %check.
This commit is contained in:
Miro Hrončok 2021-08-13 16:40:16 +02:00
parent ec905e48a4
commit c3e9fe3869
3 changed files with 16 additions and 9 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/pretend-1.0.8.tar.gz
/pretend-1.0.9.tar.gz

View File

@ -1,18 +1,19 @@
%global srcname pretend
Name: python-pretend
Version: 1.0.8
Release: 25%{?dist}
Version: 1.0.9
Release: 1%{?dist}
Summary: A library for stubbing in Python
License: BSD
URL: https://github.com/alex/pretend
Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
%description
@ -22,7 +23,6 @@ Pretend is a library to make stubbing with Python easier.
%package -n python3-pretend
Summary: A library for stubbing in Python
License: BSD
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-pretend
@ -41,15 +41,21 @@ Pretend is a library to make stubbing with Python easier.
%py3_install
%check
%pytest -v
%files -n python3-pretend
%doc PKG-INFO README.rst
%doc README.rst
%license LICENSE.rst
%{python3_sitelib}/pretend.py
%{python3_sitelib}/__pycache__/pretend.cpython-3?*
%{python3_sitelib}/pretend-%{version}-py%{python3_version}.egg-info
%pycached %{python3_sitelib}/pretend.py
%{python3_sitelib}/pretend-%{version}-py%{python3_version}.egg-info/
%changelog
* Fri Aug 13 2021 Miro Hrončok <mhroncok@redhat.com> - 1.0.9-1
- Update to 1.0.9
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
7147050a95c9f494248557b42b58ad79 pretend-1.0.8.tar.gz
SHA512 (pretend-1.0.9.tar.gz) = 976e3272557aecfb11e4147a868ea96e23546e277d57d726f41b945103bef3451039716e6bbc5082d691fa1fd331c06b3d0f8b254deb0510948153571326eaf0