diff --git a/python-geoip2.spec b/python-geoip2.spec index 55e2d78..819433b 100644 --- a/python-geoip2.spec +++ b/python-geoip2.spec @@ -21,13 +21,6 @@ BuildArch: noarch %description %{desc} -%package doc -Summary: Documentation for %{name} -BuildRequires: %{_bindir}/sphinx-build - -%description doc -This package provides the documentation for %{pypi_name}. - %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel @@ -40,6 +33,13 @@ BuildRequires: python3-requests-mock %description -n python3-%{pypi_name} %{desc} +%package doc +Summary: Documentation for %{name} +BuildRequires: %{_bindir}/sphinx-build + +%description doc +This package provides the documentation for %{pypi_name}. + %prep %autosetup -n %{srcname}-%{version} -a 1 rmdir tests/data @@ -56,16 +56,16 @@ rm -rf html/.{buildinfo,doctrees} %check PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py test -%files doc -%doc html/ -%license LICENSE - %files -n python3-%{pypi_name} %doc README.rst %license LICENSE %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-*.egg-info/ +%files doc +%doc html/ +%license LICENSE + %changelog * Sat Feb 02 2019 Fedora Release Engineering - 2.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild