From 1f0a6e7ad27b10db8a6d2270f47e0f0869df71e1 Mon Sep 17 00:00:00 2001 From: Brian C. Lane Date: Sep 11 2018 23:34:58 +0000 Subject: - Remove python2 package from build (#1627431) --- diff --git a/python-sphinx-argparse.spec b/python-sphinx-argparse.spec index e9e4265..5dfe4b4 100644 --- a/python-sphinx-argparse.spec +++ b/python-sphinx-argparse.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 0.2.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum} BuildArch: noarch @@ -11,22 +11,11 @@ License: MIT Url: https://github.com/ribozz/%{srcname}/ Source0: https://github.com/ribozz/%{srcname}/archive/%{version}.tar.gz -BuildRequires: python2-devel python2-setuptools BuildRequires: python3-devel python3-setuptools %description Sphinx extension that automatically documents argparse commands and options -%package -n python2-%{srcname} -Requires: python2-sphinx -BuildRequires: python2-sphinx -Summary: %{sum} -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -Sphinx extension that automatically documents argparse commands and options - - %package -n python3-%{srcname} Requires: python3-sphinx BuildRequires: python3-sphinx @@ -41,28 +30,20 @@ Sphinx extension that automatically documents argparse commands and options %autosetup -n %{srcname}-%{version} %build -%py2_build %py3_build %install -# Must do the python2 install first because the scripts in /usr/bin are -# overwritten with every setup.py install, and in general we want the -# python3 version to be the default. -%py2_install %py3_install -# Note that there is no %%files section for the unversioned python module if we are building for several python runtimes -%files -n python2-%{srcname} -%license LICENSE -%doc README.md -%{python2_sitelib}/* - %files -n python3-%{srcname} %license LICENSE %doc README.md %{python3_sitelib}/* %changelog +* Tue Sep 11 2018 Brian C. Lane - 0.2.2-4 +- Remove python2 package from build (#1627431) + * Sat Jul 14 2018 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild