| |
@@ -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 @@
|
| |
|
| |
%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 @@
|
| |
%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.
|
| |
|
| |