forked from pool/python-nbxmpp
Accepting request 195612 from home:DarkSS
Heads up: Python2 / Python3 parallel installation. %fdupes will not work if files are installed via %doc. Let somebody more skillfull review it. OBS-URL: https://build.opensuse.org/request/show/195612 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nbxmpp?expand=0&rev=7
This commit is contained in:
parent
6f5299311b
commit
47046222a9
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 15 16:53:31 UTC 2013 - dap.darkness@gmail.com
|
||||||
|
|
||||||
|
- Heads up: Python2 / Python3 parallel installation.
|
||||||
|
%fdupes will not work if files are installed via %doc.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
Sat Apr 20 14:59:16 UTC 2013 - dap.darkness@gmail.com
|
Sat Apr 20 14:59:16 UTC 2013 - dap.darkness@gmail.com
|
||||||
|
|
||||||
- Fixed up to submit.
|
- Fixed up to submit.
|
||||||
|
@ -47,8 +47,7 @@ library is initialy a fork of xmpppy one, but using non-blocking sockets.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Nbxmpp Documentation
|
Summary: Nbxmpp Documentation
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
# ^ To buid at SLE <= 11 SP2.
|
||||||
# To buid at SLE <= 11 SP2.
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This packages provides documentation of Nbxmpp API.
|
This packages provides documentation of Nbxmpp API.
|
||||||
@ -63,18 +62,14 @@ python setup.py build
|
|||||||
python setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
|
python setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
|
||||||
%fdupes %{buildroot}%{python_sitelib}
|
%fdupes %{buildroot}%{python_sitelib}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_docdir}/%{name}-doc
|
|
||||||
cp -r doc/* %{buildroot}%{_docdir}/%{name}-doc
|
|
||||||
%fdupes %{buildroot}%{_docdir}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog COPYING README
|
%doc COPYING
|
||||||
%{python_sitelib}/nbxmpp-*.egg-info
|
%{python_sitelib}/nbxmpp-*.egg-info
|
||||||
%{python_sitelib}/nbxmpp/
|
%{python_sitelib}/nbxmpp/
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_docdir}/%{name}-doc
|
%doc ChangeLog README doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user