From 2e88ac8e1b276fa2f5f408aca2566f2527eb005b93b50814b2718b2486f9f4c2 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 31 Jul 2015 06:53:28 +0000 Subject: [PATCH] - Unify spec file #2 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=28 --- python-oslo.config.changes | 5 +++++ python-oslo.config.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python-oslo.config.changes b/python-oslo.config.changes index dff5052..a35630d 100644 --- a/python-oslo.config.changes +++ b/python-oslo.config.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 31 06:52:53 UTC 2015 - tbechtold@suse.com + +- Unify spec file #2 + ------------------------------------------------------------------- Wed Jul 29 05:40:13 UTC 2015 - tbechtold@suse.com diff --git a/python-oslo.config.spec b/python-oslo.config.spec index 9cc3536..a9e4c78 100644 --- a/python-oslo.config.spec +++ b/python-oslo.config.spec @@ -72,11 +72,14 @@ This package contains documentation files for %{name}. %build %{__python2} setup.py build -%{__python2} setup.py build_sphinx && rm doc/build/html/.buildinfo %install %{__python2} setup.py install --skip-build --root %{buildroot} -%fdupes doc + +# generate html docs +sphinx-build doc/source html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} %files %defattr(-,root,root,-) @@ -89,6 +92,6 @@ This package contains documentation files for %{name}. %files doc %defattr(-,root,root,-) -%doc LICENSE doc/build/html +%doc LICENSE html %changelog