Remove subpackage python2-antlr
This commit is contained in:
parent
ad0ac67d29
commit
6be3ab9c60
@ -1,6 +1,6 @@
|
|||||||
Name: python-apipkg
|
Name: python-apipkg
|
||||||
Version: 1.5
|
Version: 1.5
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Namespace control and lazy-import mechanism
|
Summary: Namespace control and lazy-import mechanism
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -8,7 +8,7 @@ URL: https://pypi.org/project/apipkg/
|
|||||||
Source0: https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python2-devel python2-setuptools_scm python3-devel python3-setuptools_scm
|
BuildRequires: python3-devel python3-setuptools_scm
|
||||||
|
|
||||||
%description
|
%description
|
||||||
With apipkg you can control the exported namespace of a Python package and greatly reduce the
|
With apipkg you can control the exported namespace of a Python package and greatly reduce the
|
||||||
@ -16,16 +16,6 @@ number of imports for your users. It is a small pure Python module that works on
|
|||||||
and 3.4+, Jython and PyPy. It cooperates well with Python’s help() system, custom importers (PEP302)
|
and 3.4+, Jython and PyPy. It cooperates well with Python’s help() system, custom importers (PEP302)
|
||||||
and common command-line completion tools.
|
and common command-line completion tools.
|
||||||
|
|
||||||
%package -n python2-apipkg
|
|
||||||
Summary: Namespace control and lazy-import mechanism
|
|
||||||
%python_provide python2-apipkg
|
|
||||||
|
|
||||||
%description -n python2-apipkg
|
|
||||||
With apipkg you can control the exported namespace of a Python package and greatly reduce the
|
|
||||||
number of imports for your users. It is a small pure Python module that works on CPython 2.7
|
|
||||||
and 3.4+, Jython and PyPy. It cooperates well with Python’s help() system, custom importers (PEP302)
|
|
||||||
and common command-line completion tools.
|
|
||||||
|
|
||||||
%package -n python3-apipkg
|
%package -n python3-apipkg
|
||||||
Summary: Namespace control and lazy-import mechanism
|
Summary: Namespace control and lazy-import mechanism
|
||||||
%python_provide python3-apipkg
|
%python_provide python3-apipkg
|
||||||
@ -41,22 +31,19 @@ and common command-line completion tools.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-apipkg
|
|
||||||
%doc CHANGELOG README.rst
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-apipkg
|
%files -n python3-apipkg
|
||||||
%doc CHANGELOG README.rst
|
%doc CHANGELOG README.rst
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 1.5-3
|
||||||
|
- Remove Subpackage python2-apipkg
|
||||||
|
|
||||||
* Thu Mar 12 2020 chenli <chenli147@huawei.com> - 1.5-2
|
* Thu Mar 12 2020 chenli <chenli147@huawei.com> - 1.5-2
|
||||||
- Init package.
|
- Init package.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user