forked from pool/python-oslo.config
- Unify spec file #2
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=28
This commit is contained in:
parent
204a66801e
commit
2e88ac8e1b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user