Browse Source

intltool: rebuild with perl-5.26

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12125 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 4 years ago
parent
commit
590c59dabf
1 changed files with 21 additions and 2 deletions
  1. 21 2
      i/intltool/intltool-vl.spec

+ 21 - 2
i/intltool/intltool-vl.spec

@@ -1,15 +1,28 @@
 Name: intltool
 Summary: Utility for internationalizing various kinds of data files.
 Summary(ja): さまざまな種類のファイルを国際化するためのユーティリティ
+
 Version: 0.51.0
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL
 Group: Development/Tools
-Source: https://launchpad.net/intltool/trunk/%{version}/+download/%{name}-%{version}.tar.gz
 URL: https://launchpad.net/intltool
+
+Source: https://launchpad.net/intltool/trunk/%{version}/+download/%{name}-%{version}.tar.gz
+
+# Fix intltool-update to work with perl 5.26.
+# Patch taken from Debian's intltool_0.51.0-4.debian.tar.xz
+Patch1: intltool-perl5.26-regex-fixes.patch
+# https://bugs.launchpad.net/intltool/+bug/1505260
+# https://bugzilla.redhat.com/show_bug.cgi?id=1249051
+Patch2: intltool-merge-Create-cache-file-atomically.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=1318674
+Patch3: intltool_distcheck-fix.patch
+
 Requires: patch perl perl-XML-Parser
 Obsoletes: xml-i18n-tools
 Provides: xml-i18n-tools = 0.11
+
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
@@ -23,6 +36,9 @@ them in the po files.
 
 %prep
 %setup -q
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 %configure
@@ -47,6 +63,9 @@ make
 %{_mandir}/man*/*
 
 %changelog
+* Mon May 20 2019 Toshiaki Ara <ara_t@384.jp> 0.51.0-2
+- add Patch1 to Patch3
+
 * Wed May 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.51.0-1
 - new upstream release.