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