remove sed . to _

epel9
Dan Radez 5 years ago
parent 3f9af08f59
commit 9e0802bb3d

@ -39,8 +39,8 @@ Functools like those found in stdlib
%package -n python-%{pkg_name}-doc %package -n python-%{pkg_name}-doc
Summary: jaraco-functools documentation Summary: jaraco-functools documentation
BuildRequires: python3dist(jaraco-packaging) >= 3.2 BuildRequires: python3dist(jaraco.packaging) >= 3.2
BuildRequires: python3dist(rst-linker) >= 1.9 BuildRequires: python3dist(rst.linker) >= 1.9
BuildRequires: python3dist(sphinx) BuildRequires: python3dist(sphinx)
%description -n python-%{pkg_name}-doc %description -n python-%{pkg_name}-doc
@ -51,8 +51,6 @@ Documentation for jaraco-functools
%autosetup -n jaraco.functools-%{version} %autosetup -n jaraco.functools-%{version}
# Remove bundled egg-info # Remove bundled egg-info
rm -rf jaraco.functools.egg-info rm -rf jaraco.functools.egg-info
# rename package with a -
sed -i 's/%{pypi_name}/%{pkg_name}/' setup.cfg
%build %build
%py3_build %py3_build
@ -77,11 +75,11 @@ rm -rf html/.{doctrees,buildinfo}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
# These excludes are provided by python3-jaraco # These excludes are provided by python3-jaraco
%exclude %{python3_sitelib}/jaraco/__init__* #%exclude %{python3_sitelib}/jaraco/__init__*
%exclude %{python3_sitelib}/jaraco/__pycache__/__init__* #%exclude %{python3_sitelib}/jaraco/__pycache__/__init__*
%{python3_sitelib}/jaraco/functools* %{python3_sitelib}/jaraco/functools*
%{python3_sitelib}/jaraco/__pycache__/functools* #%{python3_sitelib}/jaraco/__pycache__/functools*
%{python3_sitelib}/jaraco_functools-%{version}-py?.?.egg-info %{python3_sitelib}/jaraco.functools-%{version}-py?.?.egg-info
%if %{with docs} %if %{with docs}
%files -n python-%{pkg_name}-doc %files -n python-%{pkg_name}-doc

Loading…
Cancel
Save