Update to 0.9.0 (#1680414)

This commit is contained in:
Miro Hrončok 2019-04-09 12:52:34 +02:00
parent 286bd4092e
commit 46bdead5ad
2 changed files with 19 additions and 16 deletions

View File

@ -1,4 +1,4 @@
%global pypiname pluggy
%global pypi_name pluggy
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without python3
@ -10,13 +10,13 @@
%bcond_without tests
Name: python-pluggy
Version: 0.8.1
Version: 0.9.0
Release: 1%{?dist}
Summary: The plugin manager stripped of pytest specific details
License: MIT
URL: https://github.com/pytest-dev/pluggy
Source0: https://files.pythonhosted.org/packages/source/p/%{pypiname}/%{pypiname}-%{version}.tar.gz
Source0: %{pypi_source}
BuildArch: noarch
@ -41,24 +41,24 @@ The plugin manager stripped of pytest specific details.
%description %_description
%package -n python2-%{pypiname}
%package -n python2-%{pypi_name}
Summary: %summary
%{?python_provide:%python_provide python2-%{pypiname}}
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypiname} %_description
%description -n python2-%{pypi_name} %_description
%if %{with python3}
%package -n python3-%{pypiname}
%package -n python3-%{pypi_name}
Summary: %summary
%description -n python3-%{pypiname}
%description -n python3-%{pypi_name}
The plugin manager stripped of pytest specific details.
%endif # with python3
%prep
%autosetup -n %{pypiname}-%{version}
%autosetup -n %{pypi_name}-%{version}
%build
@ -86,23 +86,26 @@ PYTHONPATH=$PWD %{__python3} -m pytest testing
%endif # with tests
%files -n python2-%{pypiname}
%files -n python2-%{pypi_name}
%doc README.rst
%license LICENSE
%{python2_sitelib}/%{pypiname}
%{python2_sitelib}/%{pypiname}-%{version}-py%{python2_version}.egg-info
%{python2_sitelib}/%{pypi_name}/
%{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info/
%if %{with python3}
%files -n python3-%{pypiname}
%{python3_sitelib}/%{pypiname}
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info
%files -n python3-%{pypi_name}
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%doc README.rst
%license LICENSE
%endif # with python3
%changelog
* Tue Mar 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-1
- Update to 0.9.0 (#1680414)
* Fri Feb 08 2019 Alfredo Moralejo <amoralej@redhat.com> - 0.8.1-1
- Update to 0.8.1.

View File

@ -1 +1 @@
SHA512 (pluggy-0.8.1.tar.gz) = ee7a83f7c62e4366bc7c3c2ad822c788e5cae7ac900c3d41d84ef8b8d9c4cab7c4327df86c134c19f2faaa86a049913984550dd06db9b465ad58a83566cda150
SHA512 (pluggy-0.9.0.tar.gz) = 377d201393b11afbbe7dcce6053a4200782e4d2017252a4dee3859a5cf3eb21534ebd6ac7c9fd518b5eff441009b1b5791c8fc86e59385b7eddfc9dbc103eb33