From ee87de5672e43721f8a317ead70a3f0ff232d6cf Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 6 Aug 2020 20:25:33 +0800 Subject: [PATCH] Remove python2-entrypoints subpackage --- python-entrypoints.spec | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/python-entrypoints.spec b/python-entrypoints.spec index 4bf00bb..926ef53 100644 --- a/python-entrypoints.spec +++ b/python-entrypoints.spec @@ -1,12 +1,12 @@ Name: python-entrypoints Version: 0.2.3 -Release: 10 +Release: 11 Summary: Discover and load entry points from installed packages License: MIT URL: https://entrypoints.readthedocs.io/ Source0: https://github.com/takluyver/entrypoints/archive/%{version}/entrypoints-%{version}.tar.gz -BuildRequires: python2-devel python3-devel python2-pip python3-pip python3-flit python3-sphinx +BuildRequires: python3-pip python3-flit python3-sphinx BuildArch: noarch %description @@ -16,18 +16,6 @@ examples are console_scripts entry points, which define shell commands by identi Groups of entry points, such as console_scripts, point to objects with similar interfaces. An application might use a group to find its plugins, or multiple groups if it has different kinds of plugins. -%package -n python2-entrypoints -Summary: Discover and load entry points from installed packages -Requires: python2-configparser -%{?python_provide:%python_provide python2-entrypoints} - -%description -n python2-entrypoints -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. - -Groups of entry points, such as console_scripts, point to objects with similar interfaces. An application might -use a group to find its plugins, or multiple groups if it has different kinds of plugins. - %package -n python3-entrypoints Summary: Discover and load entry points from installed packages %{?python_provide:%python_provide python3-entrypoints} @@ -50,16 +38,14 @@ find %{_builddir}/entrypoints-%{version} -type f -name .buildinfo -delete %install %py3_install_wheel entrypoints-%{version}-py2.py3-none-any.whl -%py2_install_wheel entrypoints-%{version}-py2.py3-none-any.whl - -%files -n python2-entrypoints -%doc LICENSE doc/_build/html -%{python2_sitelib}/* %files -n python3-entrypoints %doc LICENSE doc/_build/html %{python3_sitelib}/* %changelog +* Thu Aug 06 2020 lingsheng - 0.2.3-11 +- Remove python2-entrypoints subpackage + * Thu Nov 21 2019 lingsheng - 0.2.3-10 - Package init