scop pushed to python-glue (master). "Build and install HTML docs instead of doc sources, mark COPYING as %license"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 20 06:29:35 UTC 2015


From ad34a1d5dee8245fbe462fff1163e3f865616828 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta at iki.fi>
Date: Sun, 17 May 2015 12:51:45 +0300
Subject: Build and install HTML docs instead of doc sources, mark COPYING as
 %license


diff --git a/python-glue.spec b/python-glue.spec
index 456fdbb..ca70821 100644
--- a/python-glue.spec
+++ b/python-glue.spec
@@ -1,6 +1,6 @@
 Name:           python-glue
 Version:        0.11.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A simple command line tool to generate CSS sprites
 
 License:        BSD
@@ -12,6 +12,7 @@ BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-cssutils
 BuildRequires:  python-mock
+BuildRequires:  python-sphinx
 Requires:       python-jinja2
 Requires:       python-pillow
 
@@ -29,18 +30,22 @@ rm -rf glue.egg-info
 sed -i -e "1d" glue/bin.py
 
 %build
-%{__python} setup.py build
+%{__python} setup.py build egg_info build_sphinx # build_sphinx needs egg_info
+rm build/sphinx/html/.buildinfo
 
 %install
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 %files
-%doc AUTHORS COPYING docs
+%license COPYING
+%doc AUTHORS build/sphinx/html
 %{_bindir}/glue
 %{python_sitelib}/glue
 %{python_sitelib}/glue-%{version}-py?.?.egg-info
 
 %changelog
+* Sun May 17 2015 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-2
+- Build and install HTML docs instead of doc sources, mark COPYING as %%license
 * Sat Apr 25 2015 Lorenzo Gil Sanchez <lorenzo.gil.sanchez at gmail.com> - 0.11.1-1
 - Update upstream version to 0.11.1
 * Sun Mar 15 2015 Lorenzo Gil Sanchez <lorenzo.gil.sanchez at gmail.com> - 0.9.4-1
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-glue.git/commit/?h=master&id=ad34a1d5dee8245fbe462fff1163e3f865616828


More information about the scm-commits mailing list