From 7f32d63d7e538285812ff318e0f36189bb37d32b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Oct 11 2018 16:59:51 +0000 Subject: Python2 binary package has been removed --- diff --git a/python-pyeclib.spec b/python-pyeclib.spec index 9522429..3135d5b 100644 --- a/python-pyeclib.spec +++ b/python-pyeclib.spec @@ -4,7 +4,7 @@ Name: python-pyeclib Version: 1.5.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python interface to erasure codes License: BSD @@ -13,11 +13,9 @@ URL: https://bitbucket.org/kmgreen2/pyeclib/ # git archive -o ../pyeclib-1.5.0.tar.gz --prefix=pyeclib-1.5.0/ 1.5.0 Source0: pyeclib-%{version}.tar.gz -BuildRequires: python2-devel %if 0%{?with_python3} BuildRequires: python3-devel %endif -BuildRequires: python2-setuptools BuildRequires: liberasurecode-devel >= 1.5.0 %global _description\ @@ -27,13 +25,6 @@ or through the C interface liberasurecode. %description %_description -%package -n python2-pyeclib -Summary: %summary -Requires: liberasurecode >= 1.5.0 -%{?python_provide:%python_provide python2-pyeclib} - -%description -n python2-pyeclib %_description - %if 0%{?with_python3} %package -n python3-pyeclib Summary: Python 3 interface to erasure codes @@ -49,36 +40,20 @@ or through the C interface liberasurecode. %if 0%{?with_python3} # The {py3dir} is a convenience built-in that Fedora provides in F13 -rm -rf %{py3dir} -cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|' %endif %build -%{__python2} setup.py build %if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py build -popd %endif %install -%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT -popd %endif -%files -n python2-pyeclib -%license License.txt -%doc README.rst -%{_libdir}/python2*/site-packages/* -# There is no __python2_sitearch on F21 -#{__python_sitearch}/* - %if 0%{?with_python3} %files -n python3-pyeclib %license License.txt @@ -89,6 +64,10 @@ popd %endif %changelog +* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek - 1.5.0-8 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 1.5.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild