Readd Python 2 subpackage
This commit is contained in:
parent
540d1d3dd3
commit
1eadb643bd
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.7.12
|
Version: 0.7.12
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Configurable sidebar-enabled Sphinx theme
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -11,6 +11,8 @@ URL: https://pypi.python.org/pypi/%{pypi_name}
|
|||||||
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
|
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: python2-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
|
This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
|
||||||
@ -18,6 +20,16 @@ used in his Requests project), which was itself originally based on @mitsuhiko's
|
|||||||
theme used for Flask & related projects.
|
theme used for Flask & related projects.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python2-%{srcname}
|
||||||
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||||||
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
|
|
||||||
|
%description -n python2-%{srcname}
|
||||||
|
This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
|
||||||
|
used in his Requests project), which was itself originally based on @mitsuhiko's
|
||||||
|
theme used for Flask & related projects.
|
||||||
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-%{srcname}
|
%package -n python%{python3_pkgversion}-%{srcname}
|
||||||
Summary: Configurable sidebar-enabled Sphinx theme
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -39,13 +51,21 @@ rm -rf %{pypi_name}.egg-info
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%py2_build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python2-%{srcname}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
%{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info/
|
||||||
|
%{python2_sitelib}/%{pypi_name}/
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{srcname}
|
%files -n python%{python3_pkgversion}-%{srcname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
@ -54,6 +74,9 @@ rm -rf %{pypi_name}.egg-info
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 06 2018 Julien Enselme <jujens@jujens.eu> - 0.7.12-2
|
||||||
|
- Readd Python 2 subpackage
|
||||||
|
|
||||||
* Thu Oct 04 2018 Julien Enselme <jujens@jujens.eu> - 0.7.12-1
|
* Thu Oct 04 2018 Julien Enselme <jujens@jujens.eu> - 0.7.12-1
|
||||||
- Update to 0.7.12
|
- Update to 0.7.12
|
||||||
- Remove Python 2 subpackage
|
- Remove Python 2 subpackage
|
||||||
|
Loading…
Reference in New Issue
Block a user