Projects
Kube:Winterfell
python-sphinx-theme-alabaster
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
python-sphinx-theme-alabaster.spec
Changed
@@ -1,6 +1,10 @@ %global pypi_name alabaster %global srcname sphinx-theme-%{pypi_name} +%if 0%{?fedora} +%global with_python3 +%endif + Name: python-%{srcname} Version: 0.7.6 Release: 6%{?dist} @@ -19,7 +23,6 @@ used in his Requests project), which was itself originally based on @mitsuhiko's theme used for Flask & related projects. - %package -n python2-%{srcname} Summary: Configurable sidebar-enabled Sphinx theme %{?python_provide:%python_provide python2-%{srcname}} @@ -29,7 +32,7 @@ used in his Requests project), which was itself originally based on @mitsuhiko's theme used for Flask & related projects. - +%if 0%{?with_python3} %package -n python3-%{srcname} Summary: Configurable sidebar-enabled Sphinx theme BuildArch: noarch @@ -41,7 +44,7 @@ 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. - +%endif %prep %setup -qn %{pypi_name}-%{version} @@ -52,13 +55,15 @@ %build %py2_build +%if 0%{?with_python3} %py3_build - +%endif %install %py2_install +%if 0%{?with_python3} %py3_install - +%endif %files -n python2-%{srcname} %license LICENSE @@ -66,12 +71,13 @@ %{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info/ %{python2_sitelib}/%{pypi_name}/ +%if 0%{?with_python3} %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/%{pypi_name}/ - +%endif %changelog * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-6
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.