1
0
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:
Todd R 2013-08-22 14:38:55 +00:00 committed by Git OBS Bridge
parent 6f5299311b
commit 47046222a9
2 changed files with 10 additions and 8 deletions

View File

@ -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
- Fixed up to submit.

View File

@ -47,8 +47,7 @@ library is initialy a fork of xmpppy one, but using non-blocking sockets.
%package doc
Summary: Nbxmpp Documentation
Group: Development/Libraries/Python
# To buid at SLE <= 11 SP2.
# ^ To buid at SLE <= 11 SP2.
%description doc
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}
%fdupes %{buildroot}%{python_sitelib}
mkdir -p %{buildroot}%{_docdir}/%{name}-doc
cp -r doc/* %{buildroot}%{_docdir}/%{name}-doc
%fdupes %{buildroot}%{_docdir}
%files
%defattr(-,root,root)
%doc ChangeLog COPYING README
%doc COPYING
%{python_sitelib}/nbxmpp-*.egg-info
%{python_sitelib}/nbxmpp/
%files doc
%defattr(-,root,root)
%{_docdir}/%{name}-doc
%doc ChangeLog README doc/*
%changelog