diff --git a/ebe84efc1a869da8d5689c706cdcf6ea864f0d9b.tar.gz b/ebe84efc1a869da8d5689c706cdcf6ea864f0d9b.tar.gz deleted file mode 100644 index 038f790..0000000 Binary files a/ebe84efc1a869da8d5689c706cdcf6ea864f0d9b.tar.gz and /dev/null differ diff --git a/python-sphinxcontrib-websupport.spec b/python-sphinxcontrib-websupport.spec index 5409ca7..688b12f 100644 --- a/python-sphinxcontrib-websupport.spec +++ b/python-sphinxcontrib-websupport.spec @@ -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 - 1.1.2-1 +- update to 1.1.2 + * Thu Nov 28 2019 Wanjiankang - 1.0.1-11 - Initial RPM diff --git a/sphinxcontrib-websupport-1.1.2.tar.gz b/sphinxcontrib-websupport-1.1.2.tar.gz new file mode 100644 index 0000000..74bd2b2 Binary files /dev/null and b/sphinxcontrib-websupport-1.1.2.tar.gz differ