Accepting request 481355 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/481355 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-alabaster?expand=0&rev=2
This commit is contained in:
commit
a58c436544
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 19 17:57:07 UTC 2016 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- update for multipython build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 8 14:29:06 UTC 2015 - cdenicolo@suse.com
|
Wed Jul 8 14:29:06 UTC 2015 - cdenicolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-alabaster
|
# spec file for package python-alabaster
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-alabaster
|
Name: python-alabaster
|
||||||
Version: 0.7.3
|
Version: 0.7.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,15 +25,14 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/bitprophet/alabaster
|
Url: https://github.com/bitprophet/alabaster
|
||||||
Source: https://pypi.python.org/packages/source/a/alabaster/alabaster-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/a/alabaster/alabaster-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
|
||||||
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 theme is a modified "Kr" Sphinx theme from @kennethreitz
|
This theme is a modified "Kr" Sphinx theme from @kennethreitz
|
||||||
@ -44,13 +44,13 @@ projects.
|
|||||||
%setup -q -n alabaster-%{version}
|
%setup -q -n alabaster-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
|
%python_install
|
||||||
%fdupes $RPM_BUILD_ROOT%{py_sitedir}
|
%fdupes %{buildroot}%{_prefix}
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%doc README.rst LICENSE
|
%doc README.rst LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user