From c3e9fe3869c348adc0a2b22068b80a56f540306d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Aug 2021 16:40:16 +0200 Subject: [PATCH] Update to 1.0.9 Run tests in %check. --- .gitignore | 1 + python-pretend.spec | 22 ++++++++++++++-------- sources | 2 +- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 0178ff6..c88f16e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pretend-1.0.8.tar.gz +/pretend-1.0.9.tar.gz diff --git a/python-pretend.spec b/python-pretend.spec index a1ae0d1..87600f4 100644 --- a/python-pretend.spec +++ b/python-pretend.spec @@ -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 - 1.0.9-1 +- Update to 1.0.9 + * Fri Jul 23 2021 Fedora Release Engineering - 1.0.8-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 6770cd9..d79511a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7147050a95c9f494248557b42b58ad79 pretend-1.0.8.tar.gz +SHA512 (pretend-1.0.9.tar.gz) = 976e3272557aecfb11e4147a868ea96e23546e277d57d726f41b945103bef3451039716e6bbc5082d691fa1fd331c06b3d0f8b254deb0510948153571326eaf0