[packages/python-sphinx-gallery] - fix non-deterministic tools packaging; release 2

qboosh qboosh at pld-linux.org
Tue Sep 17 16:45:13 CEST 2019


commit f01fe2641e5734579281bb07f1174568c2aca178
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Sep 17 16:48:10 2019 +0200

    - fix non-deterministic tools packaging; release 2

 python-sphinx-gallery.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-sphinx-gallery.spec b/python-sphinx-gallery.spec
index aa9ff78..2681288 100644
--- a/python-sphinx-gallery.spec
+++ b/python-sphinx-gallery.spec
@@ -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:	1
+Release:	2
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/sphinx-gallery/
@@ -95,6 +95,9 @@ 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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sphinx-gallery.git/commitdiff/f01fe2641e5734579281bb07f1174568c2aca178



More information about the pld-cvs-commit mailing list