|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Name: python-%{pkg_name}
|
|
|
|
|
Version: 6.1
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Tools to supplement packaging Python releases
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -49,11 +49,12 @@ version or author name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
BuildRequires: python3dist(sphinx)
|
|
|
|
|
BuildRequires: python3-rst-linker
|
|
|
|
|
|
|
|
|
|
%package -n python-%{pkg_name}-doc
|
|
|
|
|
Summary: jaraco.packaging documentation
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3dist(sphinx)
|
|
|
|
|
BuildRequires: python3dist(rst-linker)
|
|
|
|
|
|
|
|
|
|
%description -n python-%{pkg_name}-doc
|
|
|
|
|
Documentation for jaraco.packaging
|
|
|
|
|
%endif
|
|
|
|
@ -62,6 +63,8 @@ Documentation for jaraco.packaging
|
|
|
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
|
# Remove bundled egg-info
|
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
# rename package in setup to -
|
|
|
|
|
sed -i 's/name = %{pypi_name}/name = %{pkg_name}/' setup.cfg
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
@ -91,7 +94,7 @@ rm -rf html/.{doctrees,buildinfo}
|
|
|
|
|
%{_bindir}/upload-package
|
|
|
|
|
%{_bindir}/dependency-tree
|
|
|
|
|
%{python3_sitelib}/jaraco/packaging
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
|
|
|
|
%{python3_sitelib}/jaraco_packaging-%{version}-py?.?.egg-info
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
%files -n python-%{pkg_name}-doc
|
|
|
|
@ -100,6 +103,9 @@ rm -rf html/.{doctrees,buildinfo}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Apr 08 2019 Dan Radez <dradez@redhat.com> - 6.1-7
|
|
|
|
|
- fixing egg info
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2019 Dan Radez <dradez@redhat.com> - 6.1-6
|
|
|
|
|
- Updating doc reqs in prep to enable doc build
|
|
|
|
|
|
|
|
|
|