!5 update to 1.1.2
Merge pull request !5 from pengyq/openEuler-20.03-LTS
This commit is contained in:
commit
5424c6b055
Binary file not shown.
@ -1,12 +1,11 @@
|
||||
%global commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b
|
||||
Name: python-sphinxcontrib-websupport
|
||||
Version: 1.0.1
|
||||
Release: 11
|
||||
Version: 1.1.2
|
||||
Release: 1
|
||||
Summary: Sphinx API for Web Apps
|
||||
|
||||
License: BSD
|
||||
URL: http://sphinx-doc.org/
|
||||
Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/%{commit}.tar.gz
|
||||
Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/sphinxcontrib-websupport-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -40,7 +39,7 @@ sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
||||
documentation into your Web application.
|
||||
|
||||
%prep
|
||||
%autosetup -n sphinxcontrib-websupport-%{commit} -p1
|
||||
%autosetup -n sphinxcontrib-websupport-%{version} -p1
|
||||
rm -rf sphinxcontrib-websupport.egg-info
|
||||
|
||||
%build
|
||||
@ -52,8 +51,10 @@ rm -rf sphinxcontrib-websupport.egg-info
|
||||
%py2_install
|
||||
|
||||
%check
|
||||
PYTHONPATH=. py.test tests/
|
||||
PYTHONPATH=. py.test-3 tests/
|
||||
export PYTHONPATH=%{buildroot}%{python2_sitelib}
|
||||
%{__python2} tests/test_websupport.py
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
%{__python3} tests/test_websupport.py
|
||||
|
||||
%files -n python2-sphinxcontrib-websupport
|
||||
%doc LICENSE README.rst
|
||||
@ -66,5 +67,8 @@ PYTHONPATH=. py.test-3 tests/
|
||||
%{python3_sitelib}/{sphinxcontrib_websupport-*.pth,sphinxcontrib_websupport-*.egg-info}
|
||||
|
||||
%changelog
|
||||
* Tue Aug 04 2020 Yeqing Peng <pengyeqing@huawei.com> - 1.1.2-1
|
||||
- update to 1.1.2
|
||||
|
||||
* Thu Nov 28 2019 Wanjiankang <wanjiankang@huawei.com> - 1.0.1-11
|
||||
- Initial RPM
|
||||
|
||||
BIN
sphinxcontrib-websupport-1.1.2.tar.gz
Normal file
BIN
sphinxcontrib-websupport-1.1.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user