$ git show --format=fuller --patch-with-stat --summary f953c21a4053592de3639111aa9c4637b141fa6b
commit f953c21a4053592de3639111aa9c4637b141fa6b
Author: AngryPenguinPL <angrypenguinpoland@gmail.com>
AuthorDate: Sun Jan 5 21:12:29 2020 +0100
Commit: GitHub <noreply@github.com>
CommitDate: Sun Jan 5 21:12:29 2020 +0100
clean
---
python-zopfli.spec | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/python-zopfli.spec b/python-zopfli.spec
index 04e878a..0f8b2f0 100644
--- a/python-zopfli.spec
+++ b/python-zopfli.spec
@@ -3,26 +3,19 @@
Name: python-%{pypi_name}
Version: 0.1.7
-Release: %mkrel 1
+Release: 1
Summary: Zopfli module for python
Group: Development/Python
License: ASL
URL: https://github.com/obp/py-zopfli
Source0: https://files.pythonhosted.org/packages/source/z/%{pypi_name}/%{pypi_name}-%{version}.zip
-BuildRequires: python3-devel
+BuildRequires: python-devel
BuildRequires: python3dist(setuptools)
%description
pyzopfli is a straight forward wrapper around zopfli's ZlibCompress method.
-%package -n python3-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
-
-%description -n python3-%{pypi_name}
-pyzopfli is a straight forward wrapper around zopfli's ZlibCompress method.
-
%prep
%autosetup -n %{pypi_name}-%{version}
@@ -30,15 +23,15 @@ pyzopfli is a straight forward wrapper around zopfli's ZlibCompress method.
rm -rf src/*.egg-info/
%build
-%py3_build
+%py_build
%install
-%py3_install
+%py_install
%check
-%{__python3} setup.py test
+%{__python} setup.py test
-%files -n python3-%{pypi_name}
+%files
%doc README.rst
-%{python3_sitearch}/%{pypi_name}
-%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+%{python_sitearch}/%{pypi_name}
+%{python_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info