forked from pool/python-sphinx_rtd_theme
Accepting request 487682 from devel:languages:python:singlespec
1 OBS-URL: https://build.opensuse.org/request/show/487682 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 12 18:18:26 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix python_module macro definition.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 19 18:41:21 UTC 2016 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- update for multipython build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 18 12:50:06 UTC 2016 - dmueller@suse.com
|
Mon Jul 18 12:50:06 UTC 2016 - dmueller@suse.com
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-sphinx_rtd_theme
|
Name: python-sphinx_rtd_theme
|
||||||
Version: 0.1.8
|
Version: 0.1.8
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -24,14 +25,13 @@ License: MIT and Apache-2.0 and OFL-1.1
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/snide/sphinx_rtd_theme/
|
Url: https://github.com/snide/sphinx_rtd_theme/
|
||||||
Source: https://pypi.io/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a prototype mobile-friendly sphinx theme I made for readthedocs.org. It's
|
This is a prototype mobile-friendly sphinx theme I made for readthedocs.org. It's
|
||||||
@@ -42,12 +42,12 @@ if you're just trying to use it on your project outside of that site.
|
|||||||
%setup -q -n sphinx_rtd_theme-%{version}
|
%setup -q -n sphinx_rtd_theme-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE OFL-License.txt Apache-License-2.0.txt README.rst
|
%doc LICENSE OFL-License.txt Apache-License-2.0.txt README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Reference in New Issue
Block a user