diff --git a/python-sphinx-autobuild.spec b/python-sphinx-autobuild.spec index 19c83b47ad..70e6688d3b 100644 --- a/python-sphinx-autobuild.spec +++ b/python-sphinx-autobuild.spec @@ -13,7 +13,7 @@ Name: python-%{pypi_name} Version: 0.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{sum} License: MIT @@ -72,13 +72,15 @@ mv %{buildroot}%{_bindir}/%{pypi_name} %{buildroot}%{_bindir}/%{pypi_name}-3 %endif %if 0%{?with_python2} -%files -n python-%{pypi_name} +%files -n python2-%{pypi_name} +%else +%files +%endif %doc AUTHORS NEWS.rst README.rst %license LICENSE %{python2_sitelib}/%{name_with_underscore} %{python2_sitelib}/%{name_with_underscore}-%{version}-py?.?.egg-info %{_bindir}/%{pypi_name} -%endif %files -n python%{python3_pkgversion}-%{pypi_name} %doc AUTHORS NEWS.rst README.rst @@ -88,6 +90,9 @@ mv %{buildroot}%{_bindir}/%{pypi_name} %{buildroot}%{_bindir}/%{pypi_name}-3 %{_bindir}/%{pypi_name}-3 %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek +- Fix creation of python2- subpackage + * Thu Jul 27 2017 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild