summaryrefslogtreecommitdiffstats
path: root/python-fastbencode.spec
diff options
context:
space:
mode:
authorOndřej Pohořelský <opohorel@redhat.com>2022-05-09 16:35:46 +0200
committerOndřej Pohořelský <opohorel@redhat.com>2022-05-09 16:35:46 +0200
commit169481d576374509c5fb2659f34c6c14dd9bfd79 (patch)
tree116cea7c6e5d20641cec626002931ea2046ac181 /python-fastbencode.spec
parent2b3240bba67b4af15fa764ef30ddfe039236c107 (diff)
downloadpython-fastbencode-169481d576374509c5fb2659f34c6c14dd9bfd79.tar.gz
python-fastbencode-169481d576374509c5fb2659f34c6c14dd9bfd79.tar.xz
python-fastbencode-169481d576374509c5fb2659f34c6c14dd9bfd79.zip
updated spec
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