!3 Remove python2-funcsigs subpackage
Merge pull request !3 from ultra_planet/master
This commit is contained in:
commit
d36ed6b067
@ -5,7 +5,7 @@ as well as 3.2 and up. \
|
|||||||
|
|
||||||
Name: python-funcsigs
|
Name: python-funcsigs
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 13
|
Release: 14
|
||||||
Summary: Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+
|
Summary: Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://pypi.python.org/pypi/funcsigs
|
URL: http://pypi.python.org/pypi/funcsigs
|
||||||
@ -15,16 +15,6 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
%{_description__}
|
%{_description__}
|
||||||
|
|
||||||
%package -n python2-funcsigs
|
|
||||||
Summary: Python2 bindings for funcsigs
|
|
||||||
%{?python_provide:%python_provide python2-funcsigs}
|
|
||||||
|
|
||||||
BuildRequires: python2-devel python2-setuptools python2-sphinx python2-unittest2
|
|
||||||
|
|
||||||
%description -n python2-funcsigs
|
|
||||||
This package is a python2 subpackage for funcsigs.
|
|
||||||
%{_description__}
|
|
||||||
|
|
||||||
%package -n python3-funcsigs
|
%package -n python3-funcsigs
|
||||||
Summary: Python3 bindings for funcsigs
|
Summary: Python3 bindings for funcsigs
|
||||||
%{?python_provide:%python_provide python3-funcsigs}
|
%{?python_provide:%python_provide python3-funcsigs}
|
||||||
@ -48,23 +38,16 @@ This package contains some documentation for funcsigs.
|
|||||||
rm -rf funcsigs.egg-info
|
rm -rf funcsigs.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
sphinx-build docs html
|
sphinx-build docs html
|
||||||
rm -rf html/.{doctrees,buildinfo}
|
rm -rf html/.{doctrees,buildinfo}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-funcsigs
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/{funcsigs,funcsigs-%{version}-py?.?.egg-info}
|
|
||||||
|
|
||||||
%files -n python3-funcsigs
|
%files -n python3-funcsigs
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/{funcsigs,funcsigs-%{version}-py?.?.egg-info}
|
%{python3_sitelib}/{funcsigs,funcsigs-%{version}-py?.?.egg-info}
|
||||||
@ -73,6 +56,9 @@ rm -rf html/.{doctrees,buildinfo}
|
|||||||
%doc html README.rst
|
%doc html README.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 1.0.2-14
|
||||||
|
- Remove python2-funcsigs subpackage
|
||||||
|
|
||||||
* Thu Feb 20 2020 catastrowings <jianghuhao1994@163.com> - 1.0.2-13
|
* Thu Feb 20 2020 catastrowings <jianghuhao1994@163.com> - 1.0.2-13
|
||||||
- Add buildreq python3-sphix to fix build error.
|
- Add buildreq python3-sphix to fix build error.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user