fixing egg info

epel8
Dan Radez 6 years ago
parent 0492c864df
commit 8d48089d32

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

Loading…
Cancel
Save