From 8d48089d3201bd799b41b4b09a7a33508d785d69 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Mon, 8 Apr 2019 22:33:50 -0400 Subject: [PATCH] fixing egg info --- python-jaraco-packaging.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/python-jaraco-packaging.spec b/python-jaraco-packaging.spec index 94ec51a..b3f9156 100644 --- a/python-jaraco-packaging.spec +++ b/python-jaraco-packaging.spec @@ -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 - 6.1-7 +- fixing egg info + * Mon Apr 08 2019 Dan Radez - 6.1-6 - Updating doc reqs in prep to enable doc build