summaryrefslogtreecommitdiffstats
path: root/python-fastbencode.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-fastbencode.spec')
-rw-r--r--python-fastbencode.spec9
1 files changed, 3 insertions, 6 deletions
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ý <opohorel@redhat.com> - 0.0.7-1