[packages/ImageMagick] run tests

arekm arekm at pld-linux.org
Wed Oct 11 22:42:35 CEST 2023


commit b38994dd60efc5a0294e6310b405e2a5d18a46c1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 11 22:37:00 2023 +0200

    run tests

 ImageMagick.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/ImageMagick.spec b/ImageMagick.spec
index 735d420..45c7c21 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -3,6 +3,7 @@
 #   https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=26801
 #
 # Conditional build:
+%bcond_without  tests
 # - features:
 %bcond_without	cxx		# Magick++ library
 %bcond_without	opencl		# OpenCL computing support
@@ -800,6 +801,8 @@ touch www/Magick++/NEWS.html www/Magick++/ChangeLog.html
 %{__make} -j1
 %{__sed} -i -e 's,/%{name}-%{ver}/,/%{name}-doc-%{version}/,' utilities/*.1
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ImageMagick.git/commitdiff/b38994dd60efc5a0294e6310b405e2a5d18a46c1



More information about the pld-cvs-commit mailing list