Fix m4 FTBFS in rawhide
This commit is contained in:
parent
5e14a5e299
commit
0ace43e0b8
12
m4-1.4.17-perl-make-check.patch
Normal file
12
m4-1.4.17-perl-make-check.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up m4-1.4.17/build-aux/update-copyright.orig m4-1.4.17/build-aux/update-copyright
|
||||
--- m4-1.4.17/build-aux/update-copyright.orig 2015-07-13 11:25:19.502749690 +0200
|
||||
+++ m4-1.4.17/build-aux/update-copyright 2015-07-13 11:26:20.445044297 +0200
|
||||
@@ -124,7 +124,7 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
my $copyright_re = 'Copyright';
|
||||
-my $circle_c_re = '(?:\([cC]\)|@copyright{}|©)';
|
||||
+my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©)';
|
||||
my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
|
||||
$holder ||= 'Free Software Foundation, Inc.';
|
||||
my $prefix_max = 5;
|
9
m4.spec
9
m4.spec
@ -1,7 +1,7 @@
|
||||
Summary: The GNU macro processor
|
||||
Name: m4
|
||||
Version: 1.4.17
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Text
|
||||
Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
|
||||
@ -10,6 +10,8 @@ URL: http://www.gnu.org/software/m4/
|
||||
# Patch0: Fixes math tests for little-endian PowerPC, rhbz#1083434
|
||||
# patch by Menanteau Guy and Ulrich Weigand
|
||||
Patch0: m4-1.4.17-gnulib-ppc64le.patch
|
||||
# Patch1: Fixes FTBFS, already upstream
|
||||
Patch1: m4-1.4.17-perl-make-check.patch
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
BuildRequires: autoconf automake
|
||||
@ -33,6 +35,7 @@ Install m4 if you need a macro processor.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .gnulib-ppc64le
|
||||
%patch1 -p1 -b .perl-make-check
|
||||
chmod 644 COPYING
|
||||
|
||||
%build
|
||||
@ -66,6 +69,10 @@ if [ "$1" = 0 ]; then
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.17-8
|
||||
- Fix m4 FTBFS in rawhide
|
||||
Resolves: #1239665
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.17-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user