From da440387143a69b7a4678f0ae0bf8f2814eeb717 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-ivi.spec | 32 +++++--------------------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/python-ivi.spec b/python-ivi.spec index 1b38e4a954..8387419aac 100644 --- a/python-ivi.spec +++ b/python-ivi.spec @@ -5,8 +5,6 @@ %if 0%{?rhel} && 0%{?rhel} <= 6 %{!?__python2: %global __python2 /usr/bin/python2} -%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %global with_python3 0 ##Unfortunately, Sphinx-0.6.6 is not compatible %global with_doc 0 @@ -25,7 +23,7 @@ Name: python-%{module} Version: 0.14.9 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Python Interchangeable Virtual Instrument Library License: MIT URL: http://alexforencich.com/wiki/en/python-%{module}/start @@ -40,18 +38,6 @@ BuildArch: noarch Python IVI is a Python-based interpretation of the Interchangeable Virtual Instrument standard. -%package -n python2-%{module} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{module}} - -BuildRequires: python2-devel, python2-setuptools, python2-nose -BuildRequires: python2-numpy, python2-pytest, python2-sphinx -Requires: python2-numpy - -%description -n python2-%{module} -Python IVI is a Python-based interpretation of the -Interchangeable Virtual Instrument standard. - %if 0%{?with_python3} %package -n python%{python3_pkgversion}-%{module} Summary: Python Interchangeable Virtual Instrument Library @@ -88,7 +74,6 @@ cp -a python2 python3 %build pushd python2 -CFLAGS="%{optflags}" %{__python2} setup.py build --executable="%{__python2} -s" popd %if 0%{?with_python3} @@ -99,7 +84,6 @@ popd %install pushd python2 -CFLAGS="%{optflags}" %{__python2} setup.py install -O1 --skip-build --root %{buildroot} popd %if 0%{?with_python3} @@ -126,16 +110,6 @@ nosetests-%{python3_shortver} -v popd %endif -%files -n python2-%{module} -%{!?_licensedir:%global license %doc} -%doc python2/README.md python2/AUTHORS -%license python2/COPYING -%{python2_sitelib}/%{module}/ -%{python2_sitelib}/*.egg-info/ -%if 0%{?with_doc} -%{_mandir}/man1/* -%endif - %if 0%{?with_python3} %files -n python%{python3_pkgversion}-%{module} %{!?_licensedir:%global license %doc} @@ -156,6 +130,10 @@ popd %endif %changelog +* Tue Oct 09 2018 Zbigniew Jędrzejewski-Szmek - 0.14.9-14 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 0.14.9-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -- 2.19.0.rc1