From 169481d576374509c5fb2659f34c6c14dd9bfd79 Mon Sep 17 00:00:00 2001 From: Ondřej Pohořelský Date: Mon, 9 May 2022 16:35:46 +0200 Subject: updated spec --- python-fastbencode.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'python-fastbencode.spec') diff --git a/python-fastbencode.spec b/python-fastbencode.spec index a5199dc..7a1faf1 100644 --- a/python-fastbencode.spec +++ b/python-fastbencode.spec @@ -25,7 +25,6 @@ Both provide the same functionality, but the C extension provides significantly %package -n python3-%{pypi_name} Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(cython) >= 0.29 @@ -34,8 +33,6 @@ Requires: python3dist(cython) >= 0.29 %prep %autosetup -n %{pypi_name}-%{pypi_version} -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info %build %py3_build @@ -44,12 +41,12 @@ rm -rf %{pypi_name}.egg-info %py3_install %check -%{__python3} setup.py test +%{python3} setup.py test %files -n python3-%{pypi_name} %doc README.md -%{python3_sitearch}/%{pypi_name} -%{python3_sitearch}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info +%{python3_sitearch}/%{pypi_name}/ +%{python3_sitearch}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info/ %changelog * Tue May 03 2022 Ondřej Pohořelský - 0.0.7-1 -- cgit