diff options
-rw-r--r-- | ImageMagick6.spec | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/ImageMagick6.spec b/ImageMagick6.spec index 0b215ea..6af5abd 100644 --- a/ImageMagick6.spec +++ b/ImageMagick6.spec @@ -73,7 +73,7 @@ Name: %{libname} Name: %{libname}6 %endif Version: %{VER}.%{Patchlevel} -Release: 1%{?dist} +Release: 2%{?dist} Summary: An X application for displaying and manipulating images Group: Applications/Multimedia License: ImageMagick @@ -337,6 +337,16 @@ however. mkdir Magick++/examples cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples +%if 0%{?rhel} == 6 || 0%{?rhel} == 7 +# for old perl +for file in version.sh PerlMagick/Makefile.PL PerlMagick/quantum/Makefile.PL PerlMagick/quantum/quantum.pm PerlMagick/default/Makefile.PL +do + touch -r $file /tmp/timestamp + sed -e '/VERSION/s/6.9A/6.99/' -i $file + touch -r /tmp/timestamp $file +done +%endif + %build %configure --enable-shared \ @@ -576,6 +586,10 @@ fi %changelog +* Wed Jun 20 2018 Remi Collet <remi@remirepo.net> - 6.9.10.2-2 +- change perl version from 6.9A to 6.99 for old perl + fix Invalid version format (non-numeric data) + * Tue Jun 19 2018 Remi Collet <remi@remirepo.net> - 6.9.10.2-1 - update to version 6.9.10 patch level 2 |