]> git.pld-linux.org Git - packages/python-breathe.git/commitdiff
- disable python3 module here
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 7 May 2020 19:54:06 +0000 (21:54 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 7 May 2020 19:54:06 +0000 (21:54 +0200)
python-breathe.spec

index 661447bd0e7a7b623999de46e4fc2e29879a7730..9544e7b106f282d85841f2f75c94cf31e24e4097 100644 (file)
@@ -1,8 +1,9 @@
+# NOTE: for versions >= 4.13 (for python3/Sphinx 2) see python3-breathe.spec
 #
 # Conditional build:
 %bcond_without tests   # nose tests
 %bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with    python3 # CPython 3.x module (built from python3-breathe.spec)
 
 Summary:       Sphinx Doxygen renderer
 Summary(pl.UTF-8):     Renderer Doxygena dla systemu dokumentacji Sphinx
@@ -111,13 +112,16 @@ ln -sf breathe-apidoc-3 $RPM_BUILD_ROOT%{_bindir}/breathe-apidoc
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with python2}
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README.rst
 %attr(755,root,root) %{_bindir}/breathe-apidoc-2
 %{py_sitescriptdir}/breathe
 %{py_sitescriptdir}/breathe-%{version}-py*.egg-info
+%endif
 
+%if %{with python3}
 %files -n python3-breathe
 %defattr(644,root,root,755)
 %doc LICENSE README.rst
@@ -125,3 +129,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/breathe-apidoc-3
 %{py3_sitescriptdir}/breathe
 %{py3_sitescriptdir}/breathe-%{version}-py*.egg-info
+%endif
This page took 0.085226 seconds and 4 git commands to generate.