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
This commit is contained in:
Stephan Kulow
2014-11-10 09:15:39 +00:00
committed by Git OBS Bridge
parent 0abacd5c31
commit 6f3186ed61
2 changed files with 10 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 21:20:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in postun script
-------------------------------------------------------------------
Fri Nov 18 08:45:26 UTC 2011 - coolo@suse.com

View File

@@ -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