]> git.pld-linux.org Git - packages/python-sphinx-gallery.git/commitdiff
- install process cleanup master auto/th/python-sphinx-gallery-0.4.0-4
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 09:23:47 +0000 (10:23 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 09:23:47 +0000 (10:23 +0100)
- rel 4

python-sphinx-gallery.spec

index 309e20be2e47fd0b52b52c0f71cee0325fe78cae..ad6c4432668e6f380efc6cfbe95baa03e4399970 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Sphinx extension to automatically generate an examples gallery
 Summary(pl.UTF-8):     Rozszerzenie Sphinksa do automatycznego generowania galerii przykładów
 Name:          python-sphinx-gallery
 Version:       0.4.0
-Release:       3
+Release:       4
 License:       BSD
 Group:         Libraries/Python
 #Source0Download: https://pypi.org/simple/sphinx-gallery/
@@ -95,12 +95,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %py_postclean
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/sphinx_gallery/tests
-
-# ensure tools come from python3 package
-%{__rm} $RPM_BUILD_ROOT%{_bindir}/*
 %endif
 
 %if %{with python3}
+# ensure tools come from python3 package
+%{__rm} -r $RPM_BUILD_ROOT%{_bindir}
 %py3_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/sphinx_gallery/tests
@@ -113,6 +112,10 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGES.rst LICENSE README.rst
+%if %{without python3}
+%attr(755,root,root) %{_bindir}/copy_sphinxgallery.sh
+%attr(755,root,root) %{_bindir}/sphx_glr_python_to_jupyter.py
+%endif
 %{py_sitescriptdir}/sphinx_gallery
 %{py_sitescriptdir}/sphinx_gallery-%{version}-py*.egg-info
 %endif
This page took 0.112448 seconds and 5 git commands to generate.