diff --git a/kgb-bot-1.31-Remove-deprecated-pragma-encoding.patch b/kgb-bot-1.31-Remove-deprecated-pragma-encoding.patch new file mode 100644 index 0000000..76f8060 --- /dev/null +++ b/kgb-bot-1.31-Remove-deprecated-pragma-encoding.patch @@ -0,0 +1,12 @@ +diff -up App-KGB-1.31/script/kgb-bot.orig App-KGB-1.31/script/kgb-bot +--- App-KGB-1.31/script/kgb-bot.orig 2017-05-25 13:18:40.421854122 +0200 ++++ App-KGB-1.31/script/kgb-bot 2017-05-25 13:44:17.267994208 +0200 +@@ -76,7 +76,7 @@ package KGB; + + use strict; + use warnings; +-use encoding 'utf8'; ++use utf8; + use open ':encoding(utf8)'; + use App::KGB::Painter; + use Time::Piece qw(localtime); diff --git a/kgb-bot.spec b/kgb-bot.spec index 0536007..f6ef4cf 100644 --- a/kgb-bot.spec +++ b/kgb-bot.spec @@ -1,7 +1,7 @@ Name: kgb-bot Summary: IRC Collaboration Bot Version: 1.31 -Release: 11%{dist} +Release: 12%{dist} License: GPLv2+ Group: Applications/Internet URL: http://kgb.alioth.debian.org @@ -12,6 +12,7 @@ Source2: %{name}.init Source3: %{name}.logrotate # Fix t/52-client-git.t to work with newer git versions Patch0: kgb-bot-1.31-Fix-t-52-client-git.t-to-work-with-newer-git-version.patch +Patch1: kgb-bot-1.31-Remove-deprecated-pragma-encoding.patch AutoReq: 0 BuildRequires: coreutils BuildRequires: perl @@ -162,6 +163,7 @@ This package adds support of Git version control system to kgb-client. %prep %setup -q -n App-KGB-%{version} %patch0 -p1 +%patch1 -p1 %pre getent group Fedora-kgb >/dev/null || groupadd -r Fedora-kgb @@ -280,6 +282,9 @@ LANG=en_US.utf8 LC_ALL=en_US.utf8 %{perl_vendorlib}/App/KGB/Client/Git.pm %changelog +* Thu May 25 2017 Jitka Plesnikova - 1.31-12 +- Remove deprecated pragma encoding + * Fri Feb 10 2017 Fedora Release Engineering - 1.31-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild