diff --git a/python-entrypoints.spec b/python-entrypoints.spec index 7c0861b..d24e3e3 100644 --- a/python-entrypoints.spec +++ b/python-entrypoints.spec @@ -1,12 +1,11 @@ %global srcname entrypoints %global sum Discover and load entry points from installed packages -%global python2_wheelname %{srcname}-%{version}-py2.py3-none-any.whl -%global python3_wheelname %python2_wheelname +%global python3_wheelname %{srcname}-%{version}-py2.py3-none-any.whl Name: python-%{srcname} Version: 0.2.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: %{sum} # license clarification issue opened upstream @@ -18,9 +17,7 @@ URL: https://entrypoints.readthedocs.io/ Source0: https://github.com/takluyver/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel BuildRequires: python3-devel -BuildRequires: python2-pip BuildRequires: python3-pip BuildRequires: python3-flit BuildRequires: python3-sphinx @@ -32,20 +29,6 @@ which define shell commands by identifying a Python function to run. The entrypoints module contains functions to find and load entry points. - -%package -n python2-%{srcname} -Summary: %{sum} -Requires: python2-configparser -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -Entry points are a way for Python packages to advertise objects with some -common interface. The most common examples are console_scripts entry points, -which define shell commands by identifying a Python function to run. - -The entrypoints module contains functions to find and load entry points. - - %package -n python3-%{srcname} Summary: %{sum} %{?python_provide:%python_provide python3-%{srcname}} @@ -77,14 +60,7 @@ popd %install -%py3_install_wheel %{python3_wheelname} -%py2_install_wheel %{python2_wheelname} - - -%files -n python2-%{srcname} -%doc doc/_build/html -%license LICENSE -%{python2_sitelib}/* +%py3_install_wheel %python3_wheelname %files -n python3-%{srcname} %doc doc/_build/html @@ -98,6 +74,9 @@ popd %license LICENSE %changelog +* Wed Nov 28 2018 Mukundan Ragavan - 0.2.3-10 +- Drop py2 sub-packages + * Sat Jul 14 2018 Fedora Release Engineering - 0.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild