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
This commit is contained in:
parent
968ed6b146
commit
3bf8502d42
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 09 21:15:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashism in postun script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 11:09:44 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user