14
0

Enable tests and make docs work again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-venusian?expand=0&rev=12
This commit is contained in:
2018-11-08 14:14:41 +00:00
committed by Git OBS Bridge
parent d8a0e3396f
commit e69f5ab81b
4 changed files with 6 additions and 7 deletions

View File

@@ -21,7 +21,6 @@ Fri Jul 14 07:00:53 UTC 2017 - aloisio@gmx.com
- Split docs and tests into separate package to make the - Split docs and tests into separate package to make the
latter work latter work
- Converted to single-spec - Converted to single-spec
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@@ -29,7 +29,6 @@ Source: https://files.pythonhosted.org/packages/source/v/venusian/venusi
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module venusian = %{version}} BuildRequires: %{python_module venusian = %{version}}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Provides: %{python_module venusian-doc = %{version}}
BuildArch: noarch BuildArch: noarch
# SECTION documentation requirements # SECTION documentation requirements
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
@@ -45,12 +44,13 @@ This package contains documentation files for python-venusian.
%setup -q -n venusian-%{version} %setup -q -n venusian-%{version}
%build %build
# ln -s %{python3_sitelib}/pylons_sphinx_themes docs/_themes ln -s %{python3_sitelib}/pylons_sphinx_themes docs/_themes
%python_build %python_build
# python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv python3 setup.py build_sphinx && rm -v build/sphinx/html/{.buildinfo,objects.inv}
%install %install
%python_install %python_install
%python_expand rm -rfv %{buildroot}%{$python_sitelib}/venusian*
%files %{python_files} %files %{python_files}
%doc build/sphinx/html/ %doc build/sphinx/html/

View File

@@ -2,7 +2,7 @@
Thu Jun 28 17:17:31 UTC 2018 - mcepl@suse.com Thu Jun 28 17:17:31 UTC 2018 - mcepl@suse.com
- Clean up SPEC file - Clean up SPEC file
- Enable tests - Enable tests and make docs work again
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 24 13:56:55 UTC 2017 - jmatejek@suse.com Thu Aug 24 13:56:55 UTC 2017 - jmatejek@suse.com

View File

@@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #