From 339b6bc16a1e847f57c302e834517c1280b6ff12 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jul 08 2019 10:48:06 +0000 Subject: Subpackage python2-setuptools_git has been removed --- diff --git a/python-setuptools_git.spec b/python-setuptools_git.spec index bb13737..ce0d178 100644 --- a/python-setuptools_git.spec +++ b/python-setuptools_git.spec @@ -1,10 +1,3 @@ -# For EPEL7. -%if 0%{?fedora} || 0%{?rhel} >= 8 -%bcond_without python3 -%else -%bcond_with python3 -%endif - %global srcname setuptools_git %global pypi_name setuptools-git @@ -16,7 +9,7 @@ inclusion specifications with MANIFEST.in. Name: python-%{srcname} Version: 1.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Setuptools revision control system plugin for Git License: BSD @@ -31,23 +24,6 @@ BuildRequires: git %{common_desc} -%package -n python2-%{srcname} -Summary: %{summary} - -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -Requires: python2-setuptools - -Provides: python2-%{pypi_name} == %{version}-%{release} - -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -%{common_desc} - - -%if %{with python3} %package -n python3-%{srcname} Summary: %{summary} @@ -62,7 +38,6 @@ Provides: python3-%{pypi_name} == %{version}-%{release} %description -n python3-%{srcname} %{common_desc} -%endif # with python3 %prep @@ -75,44 +50,30 @@ Provides: python3-%{pypi_name} == %{version}-%{release} %build -%py2_build -%if %{with python3} %py3_build -%endif # with python3 %install -%py2_install -%if %{with python3} %py3_install -%endif # with python3 %check -%{__python2} setup.py test -vv -%if %{with python3} %{__python3} setup.py test -vv unset LANG -%endif # with python3 -%files -n python2-%{srcname} -%doc PKG-INFO README.rst TODO.txt -%license AUTHORS.txt LICENSE.txt -%{python2_sitelib}/%{srcname}/ -%{python2_sitelib}/%{srcname}-%{version}-py%{python2_version}.egg-info/ - - -%if %{with python3} %files -n python3-%{srcname} %doc PKG-INFO README.rst TODO.txt %license AUTHORS.txt LICENSE.txt %{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/ -%endif # with python3 %changelog +* Mon Jul 08 2019 Miro Hrončok - 1.1-12 +- Subpackage python2-setuptools_git has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Feb 02 2019 Fedora Release Engineering - 1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild