From 88002e182aba24562e539b23e1f6f63a7fb6fe38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 9 Oct 2018 22:38:08 +0200 Subject: [PATCH] Python2 binary package has been removed --- python-gzipstream.spec | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/python-gzipstream.spec b/python-gzipstream.spec index 95d5e4be13..9f25182a20 100644 --- a/python-gzipstream.spec +++ b/python-gzipstream.spec @@ -9,16 +9,11 @@ Summary: Streaming zlib (gzip) support for python Name: python-gzipstream Version: 2.8.6 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/spacewalkproject/spacewalk/wiki/Projects_python-gzipstream Source0: https://github.com/spacewalkproject/spacewalk/archive/python-gzipstream-%{version}.tar.gz License: GPLv2 BuildArch: noarch -%if (0%{?fedora} > 27 || 0%{?rhel} > 7) -BuildRequires: python2-devel -%else -BuildRequires: python2-devel -%endif %global _description\ @@ -29,12 +24,6 @@ to allow the processing of streaming data.\ %description %_description -%package -n python2-gzipstream -Summary: %summary -%{?python_provide:%python_provide python2-gzipstream} - -%description -n python2-gzipstream %_description - %if 0%{?build_py3} %package -n python3-gzipstream Summary: %summary @@ -50,7 +39,6 @@ mkdir ../py3 cp -a . ../py3 %build -%py2_build %if 0%{?build_py3} cd ../py3 %{__python3} setup.py build @@ -58,18 +46,12 @@ cd ../py3 %endif %install -%py2_install %if 0%{?build_py3} cd ../py3 %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix %{_usr} %endif -%files -n python2-gzipstream -%{python2_sitelib}/* -%doc html -%license LICENSE - %if 0%{?build_py3} %files -n python3-gzipstream %{python3_sitelib}/* @@ -79,6 +61,10 @@ cd ../py3 %endif %changelog +* Tue Oct 09 2018 Zbigniew Jędrzejewski-Szmek - 2.8.6-4 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 2.8.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -- 2.19.0.rc1