diff --git a/python-rebulk.spec b/python-rebulk.spec index 0e5a14c..48facb2 100644 --- a/python-rebulk.spec +++ b/python-rebulk.spec @@ -1,21 +1,21 @@ %global srcname rebulk -Name: python-%{srcname} -Version: 3.0.1 -Release: 2%{?dist} -Summary: ReBulk is a python library that performs advanced searches in strings +Name: python-%{srcname} +Version: 3.0.1 +Release: 3%{?dist} +Summary: ReBulk is a python library that performs advanced searches in strings # Everything licensed as MIT, except: # rebulk/toposort.py: Apache (v2.0) # rebulk/test/test_toposort.py: Apache (v2.0) -License: MIT and ASL 2.0 -URL: https://github.com/Toilal/rebulk -Source: https://github.com/Toilal/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz -BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pytest-runner -BuildRequires: python3-six -BuildRequires: pylint +License: MIT and ASL 2.0 +URL: https://github.com/Toilal/rebulk +Source: https://github.com/Toilal/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest-runner +BuildRequires: python3-six +BuildRequires: pylint %global _description\ ReBulk is a python library that performs advanced searches in strings that\ @@ -28,9 +28,9 @@ extendable API. %description %_description %package -n python3-%{srcname} -Summary: %summary -%{?python_provide:%python_provide python3-%{srcname}} -Requires: python3-six +Summary: %summary +%py_provides python3-%{srcname} +Requires: python3-six %description -n python3-%{srcname} %_description @@ -50,7 +50,7 @@ for lib in `find %{buildroot}%{python3_sitelib} -name "*.py"`; do done %check -%{__python3} setup.py test +%pytest %files -n python3-%{srcname} %doc README.md CHANGELOG.md @@ -59,6 +59,9 @@ done %{python3_sitelib}/%{srcname}-%{version}-py*.egg-info %changelog +* Wed Jun 02 2021 Juan Orti Alcaine - 3.0.1-3 +- Use pytest and py_provides macros + * Wed Jan 27 2021 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild