From f01fe2641e5734579281bb07f1174568c2aca178 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 17 Sep 2019 16:48:10 +0200 Subject: [PATCH] - 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} -- 2.44.0