diff --git a/python-rst-linker.spec b/python-rst-linker.spec index 253cdcf..b612556 100644 --- a/python-rst-linker.spec +++ b/python-rst-linker.spec @@ -7,7 +7,7 @@ Name: python-%{pkg_name} Version: 1.10 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Can add links and perform other custom replacements to rst License: MIT @@ -26,7 +26,7 @@ link_files configuration section... %package -n python3-%{pkg_name} Summary: %{summary} Requires: python3dist(six) -Requires: python3dist(dateutil) +Requires: python3-dateutil BuildRequires: python3-devel BuildRequires: python3dist(pathspec) @@ -51,6 +51,8 @@ Documentation for rst.linker %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info +# rename package using a - +sed -i 's/rst.linker/rst-linker/' setup.py %build %py3_build @@ -75,7 +77,7 @@ rm -rf html/.{doctrees,buildinfo} %license LICENSE %doc README.rst %{python3_sitelib}/rst -%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +%{python3_sitelib}/rst_linker-%{version}-py?.?.egg-info %if %{with docs} %files -n python-%{pkg_name}-doc @@ -84,6 +86,9 @@ rm -rf html/.{doctrees,buildinfo} %endif %changelog +* Mon Apr 08 2019 Dan Radez - 1.10-4 +- fixing egg info + * Mon Apr 08 2019 Dan Radez - 1.10-3 - fixing dep to prep for enabling docs build