1
0
Thomas Bechtold 2015-07-31 06:53:28 +00:00 committed by Git OBS Bridge
parent 204a66801e
commit 2e88ac8e1b
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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