From 3fb6cfd570b827bf47d5e9941fdd14cd94f69aa2 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Dec 10 2018 11:26:31 +0000 Subject: Update to 1.0.2 --- diff --git a/python-sphinx-theme-flask.spec b/python-sphinx-theme-flask.spec index 2661b32..0550816 100644 --- a/python-sphinx-theme-flask.spec +++ b/python-sphinx-theme-flask.spec @@ -1,16 +1,13 @@ -%global upname flask-sphinx-themes -%global commitdate 20130715 -%global commit 1cc44686f0f9dad27cce2c9d16cf42f97bc87dbd -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global srcname flask-sphinx-themes Name: python-sphinx-theme-flask -Version: git%{commitdate}.%{shortcommit} -Release: 16%{?dist} +Version: 1.0.2 +Release: 1%{?dist} Summary: Sphinx Themes for Flask related projects and Flask itself License: BSD -URL: https://github.com/mitsuhiko/%{upname} -Source0: %{url}/archive/%{commit}/%{name}-%{version}.tar.gz +URL: https://github.com/pallets/%{srcname} +Source0: %{url}/archive/%{version}.tar.gz BuildArch: noarch @@ -30,6 +27,7 @@ addon libraries for flask.\ %package -n python2-sphinx-theme-flask Summary: %summary BuildRequires: python2-devel +BuildRequires: python2-setuptools Requires: python2-sphinx %{?python_provide:%python_provide python2-sphinx-theme-flask} @@ -38,7 +36,9 @@ Requires: python2-sphinx %package -n python3-sphinx-theme-flask Summary: %summary BuildRequires: python3-devel +BuildRequires: python3-setuptools Requires: python3-sphinx +%{?python_provide:%python_provide python3-sphinx-theme-flask} %description -n python3-sphinx-theme-flask %{name} contains @@ -52,36 +52,36 @@ addon libraries for flask. %prep -%setup -qn %{upname}-%{commit} +%autosetup -p1 -n %{srcname}-%{version} %build -#noop +%py2_build +%py3_build %install -mkdir -p %{buildroot}%{python2_sitelib}/sphinx/themes -cp -pr flask* %{buildroot}%{python2_sitelib}/sphinx/themes - -mkdir -p %{buildroot}%{python3_sitelib}/sphinx/themes -cp -pr flask* %{buildroot}%{python3_sitelib}/sphinx/themes +%py2_install +%py3_install %files -n python2-sphinx-theme-flask %license LICENSE -%doc LICENSE README -%{python2_sitelib}/sphinx/themes/* +%doc README.rst +%{python2_sitelib}/Flask_Sphinx_Themes-*.egg-info/ +%{python2_sitelib}/flask_sphinx_themes/ %files -n python3-sphinx-theme-flask %license LICENSE -%doc LICENSE README -%{python3_sitelib}/sphinx/themes/* - +%doc README.rst +%{python3_sitelib}/Flask_Sphinx_Themes-*.egg-info/ +%{python3_sitelib}/flask_sphinx_themes/ %changelog -* Mon Dec 10 2018 Miro Hrončok - git20130715.1cc4468-16 +* Mon Dec 10 2018 Miro Hrončok - 1.0.2-1 +- Update to 1.0.2 - Fix Python 2 installation * Sat Jul 14 2018 Fedora Release Engineering - git20130715.1cc4468-15