fix documentation

f38
Zdenek Dohnal 7 years ago
parent 702bb367ac
commit 5802f806ec

@ -62,16 +62,16 @@ Documentation for python-smbc.
%py2_build %py2_build
%endif %endif
%py3_build %py3_build
export PYTHONPATH=build/lib.linux-x86_64-3.6
%{_bindir}/pydoc3 -w smbc
%{_bindir}/mkdir html
%{_bindir}/mv smbc.html html
%install %install
%if 0%{?rhel} <= 7 %if 0%{?rhel} <= 7
%py2_install %py2_install
%endif %endif
%py3_install %py3_install
export PYTHONPATH=%{buildroot}%{python3_sitearch}
%{_bindir}/pydoc3 -w smbc
%{_bindir}/mkdir html
%{_bindir}/mv smbc.html html
%if 0%{?rhel} <= 7 %if 0%{?rhel} <= 7
%files -n python2-smbc %files -n python2-smbc
@ -92,6 +92,7 @@ export PYTHONPATH=build/lib.linux-x86_64-3.6
%changelog %changelog
* Thu Apr 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.15.4-15 * Thu Apr 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.15.4-15
- make python2 subpackage optional - make python2 subpackage optional
- fix documentation
* Mon Feb 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.15.4-14 * Mon Feb 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.15.4-14
- gcc is no longer in buildroot by default - gcc is no longer in buildroot by default

Loading…
Cancel
Save