From 3bf8502d42776b9674c2f0ce1f6a4f9e2c90c7776a6574c3fb0c13840065af60 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 10 Nov 2014 09:15:32 +0000 Subject: [PATCH] Accepting request 260532 from home:Ledest:misc fix bashism in postun script OBS-URL: https://build.opensuse.org/request/show/260532 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode-HanExtra?expand=0&rev=16 --- perl-Encode-HanExtra.changes | 5 +++++ perl-Encode-HanExtra.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/perl-Encode-HanExtra.changes b/perl-Encode-HanExtra.changes index 127640b..8fb47d7 100644 --- a/perl-Encode-HanExtra.changes +++ b/perl-Encode-HanExtra.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 09 21:15:00 UTC 2014 - Led + +- fix bashism in postun script + ------------------------------------------------------------------- Fri Dec 2 11:09:44 UTC 2011 - coolo@suse.com diff --git a/perl-Encode-HanExtra.spec b/perl-Encode-HanExtra.spec index 05dd12b..59d70f6 100644 --- a/perl-Encode-HanExtra.spec +++ b/perl-Encode-HanExtra.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Encode-HanExtra # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,9 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Encode-HanExtra -License: MIT -Group: Development/Libraries/Perl PreReq: /usr/bin/enc2xs Version: 0.23 Release: 0 @@ -25,6 +24,8 @@ Url: http://search.cpan.org/~autrijus/Encode-HanExtra-0.23/ Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Extra sets of Chinese encodings +License: MIT +Group: Development/Libraries/Perl %{perl_requires} BuildRequires: perl BuildRequires: perl-macros @@ -61,7 +62,7 @@ make DESTDIR=$RPM_BUILD_ROOT install_vendor enc2xs -C >/dev/null 2>&1 %postun -if [ $1 == 0 ] ; then +if [ $1 = 0 ]; then enc2xs -C >/dev/null 2>&1 fi