Accepting request 528492 from home:coolo:branches:openSUSE:Factory

- add console-setup-1.134-perl526.patch to work with perl 5.26,
  fixed upstream in 1.143

OBS-URL: https://build.opensuse.org/request/show/528492
OBS-URL: https://build.opensuse.org/package/show/Base:System/console-setup?expand=0&rev=7
This commit is contained in:
Dirk Mueller 2017-09-25 09:02:28 +00:00 committed by Git OBS Bridge
parent 23a1009798
commit 0a9a9a058a
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Index: console-setup-1.134/Keyboard/compose_translator
===================================================================
--- console-setup-1.134.orig/Keyboard/compose_translator
+++ console-setup-1.134/Keyboard/compose_translator
@@ -19,7 +19,7 @@
use warnings 'all';
use strict;
-use encoding 'utf8';
+use utf8;
binmode STDOUT, ':bytes';
sub debug {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 24 08:50:06 UTC 2017 - coolo@suse.com
- add console-setup-1.134-perl526.patch to work with perl 5.26,
fixed upstream in 1.143
-------------------------------------------------------------------
Thu Jan 28 10:11:45 UTC 2016 - sndirsch@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package console-setup
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -28,6 +28,8 @@ Source: http://ftp.de.debian.org/debian/pool/main/c/%{name}/%{name}_%{ve
Patch0: console-setup-1.76-paths.patch
# Fixes FSF address, sent to upstream
Patch1: console-setup-1.76-fsf-address.patch
# Backport fix from 1.143
Patch2: console-setup-1.134-perl526.patch
BuildRequires: perl
BuildRequires: perl(encoding)
@ -46,6 +48,7 @@ supports several languages that would be otherwise unsupported on the console
%setup -q
%patch0 -p1 -b .paths
%patch1 -p1 -b .fsf-address
%patch2 -p1 -b .perl526
%build
make build-linux