summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-20 11:02:23 +0200
committerRemi Collet <remi@remirepo.net>2018-06-20 11:02:23 +0200
commite0b61f48cc6de4d7c4db4fc4682faa84431c8099 (patch)
tree3677b7f8cd390e0ae4078e894a92ef019b1c17ed
parentbfcd192c83f3582e94357bae489e707ade3e2470 (diff)
change perl version from 6.9A to 6.99 for old perl fix Invalid version format (non-numeric data)
-rw-r--r--ImageMagick6.spec16
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