]> git.pld-linux.org Git - packages/ImageMagick.git/commitdiff
run tests
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 11 Oct 2023 20:37:00 +0000 (22:37 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 11 Oct 2023 20:37:00 +0000 (22:37 +0200)
ImageMagick.spec

index 735d420ac1dedb94da4d7781c79b3eff56bc6d8f..45c7c219aad42af8db66b8adb654bdb2fdc54daf 100644 (file)
@@ -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}
This page took 0.080822 seconds and 4 git commands to generate.