From 6f3186ed61b9e2c1759af8c8afdd29a90bc28b377a70313960b6a52242d777de Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 10 Nov 2014 09:15:39 +0000 Subject: [PATCH] Accepting request 260535 from home:Ledest:misc fix bashism in postun script OBS-URL: https://build.opensuse.org/request/show/260535 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode-JIS2K?expand=0&rev=16 --- perl-Encode-JIS2K.changes | 5 +++++ perl-Encode-JIS2K.spec | 13 +++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/perl-Encode-JIS2K.changes b/perl-Encode-JIS2K.changes index 4049ae2..53a062a 100644 --- a/perl-Encode-JIS2K.changes +++ b/perl-Encode-JIS2K.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 09 21:20:00 UTC 2014 - Led + +- fix bashism in postun script + ------------------------------------------------------------------- Fri Nov 18 08:45:26 UTC 2011 - coolo@suse.com diff --git a/perl-Encode-JIS2K.spec b/perl-Encode-JIS2K.spec index e15ac21..6bb9959 100644 --- a/perl-Encode-JIS2K.spec +++ b/perl-Encode-JIS2K.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Encode-JIS2K # -# 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,21 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Encode-JIS2K -License: Artistic -Group: Development/Libraries/Perl Requires: /usr/bin/enc2xs -AutoReqProv: on Version: 0.02 -Release: 145 +Release: 0 Url: http://search.cpan.org/~dankogai/Encode-JIS2K-0.02/ Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Encode-JIS2K-0.02.tar.gz Patch0: perl-Encode-JIS2K.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: JIS X 0212 (aka JIS 2000) Encodings +License: Artistic-1.0 +Group: Development/Libraries/Perl %{perl_requires} BuildRequires: perl BuildRequires: perl-macros @@ -64,7 +61,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