Accepting request 315201 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/315201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffutils?expand=0&rev=31
This commit is contained in:
Stephan Kulow 2015-07-21 11:24:01 +00:00 committed by Git OBS Bridge
commit 73c6885c9d
3 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 6 10:13:58 UTC 2015 - coolo@suse.com
- add gnulib-perl522.patch from gnulib upstream
-------------------------------------------------------------------
Sat Jan 3 15:25:32 UTC 2015 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package diffutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -30,6 +30,7 @@ Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
# http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=diffutils
Source2: %name.keyring
Patch0: gnulib-perl522.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# will be check by source service
#BuildRequires: gpg-offline
@ -41,6 +42,7 @@ make source code patches, for instance.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="%optflags -fPIE"

15
gnulib-perl522.patch Normal file
View File

@ -0,0 +1,15 @@
Subject: http://comments.gmane.org/gmane.comp.lib.gnulib.bugs/35272
Index: grep-2.21/build-aux/update-copyright
===================================================================
--- grep-2.21.orig/build-aux/update-copyright
+++ grep-2.21/build-aux/update-copyright
@@ -124,7 +124,7 @@ use strict;
use warnings;
my $copyright_re = 'Copyright';
-my $circle_c_re = '(?:\([cC]\)|@copyright{}|©)';
+my $circle_c_re = '(?:\([cC]\)|@copyright\{}|©)';
my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
$holder ||= 'Free Software Foundation, Inc.';
my $prefix_max = 5;