From 5802f806eceb863c510b65a9830b80ffaf3086cd Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 20 Apr 2018 10:20:33 +0200 Subject: [PATCH] fix documentation --- python-smbc.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index e636b63..dd5fd27 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -62,16 +62,16 @@ Documentation for python-smbc. %py2_build %endif %py3_build -export PYTHONPATH=build/lib.linux-x86_64-3.6 -%{_bindir}/pydoc3 -w smbc -%{_bindir}/mkdir html -%{_bindir}/mv smbc.html html %install %if 0%{?rhel} <= 7 %py2_install %endif %py3_install +export PYTHONPATH=%{buildroot}%{python3_sitearch} +%{_bindir}/pydoc3 -w smbc +%{_bindir}/mkdir html +%{_bindir}/mv smbc.html html %if 0%{?rhel} <= 7 %files -n python2-smbc @@ -92,6 +92,7 @@ export PYTHONPATH=build/lib.linux-x86_64-3.6 %changelog * Thu Apr 19 2018 Zdenek Dohnal - 1.0.15.4-15 - make python2 subpackage optional +- fix documentation * Mon Feb 19 2018 Zdenek Dohnal - 1.0.15.4-14 - gcc is no longer in buildroot by default