Accepting request 177743 from devel:languages:perl

update (forwarded request 177739 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MIME-Charset?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2013-06-05 17:32:49 +00:00 committed by Git OBS Bridge
commit 14a3d4217c
4 changed files with 54 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9157fc0c93619d5280aded1ae3236918d8cba4f1222732afc887ecf7f9964916
size 50202

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce267c101537ac84a0fa026a333dde089238b37b5319d8ea5e602ff067e6621b
size 50242

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Jun 5 12:30:31 UTC 2013 - coolo@suse.com
- updated to 1.010
* Fix: UTF-16 & UTF-32 encoders are died by the texts without BOM.
* Added a test #6 and some cases to test #4.
* Changed layout of distribution.
* No new features.
* CPAN RT #77715: Spelling mistake in documentation.
* Bug on CPAN site: cannot render PODs including "=item" with
non-ASCII.
* Fix: detect_7bit_charset(): if charset was unknown, returns undef
instead of "US-ASCII".
* COPYING: Updated the address of FSF.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 03 22:26:51 UTC 2011 - pascal.bleser@opensuse.org Wed Aug 03 22:26:51 UTC 2011 - pascal.bleser@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-MIME-Charset # spec file for package perl-MIME-Charset
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,55 +16,52 @@
# #
Name: perl-MIME-Charset Name: perl-MIME-Charset
Version: 1.009.1 Version: 1.010
Release: 1 Release: 0
Summary: Charset Informations for MIME %define cpan_name MIME-Charset
Source: http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/MIME-Charset-%{version}.tar.gz Summary: Charset Information for MIME
Url: http://search.cpan.org/dist/MIME-Charset
Group: Development/Libraries/Perl
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 or GPL-1.0+
BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Libraries/Perl
%{perl_requires} Url: http://search.cpan.org/dist/MIME-Charset/
BuildRequires: perl-macros Source: http://www.cpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: perl(Test::More)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Encode) >= 1.98
Requires: perl(Encode) >= 1.98
%if 0%{?suse_version} >= 1120
BuildArch: noarch BuildArch: noarch
%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(CPANPLUS::Backend)
#BuildRequires: perl(inc::Module::Install)
#BuildRequires: perl(LWP::Simple)
#BuildRequires: perl(MIME::Charset)
#BuildRequires: perl(MIME::Charset::_Compat)
#BuildRequires: perl(MIME::Charset::Defaults)
#BuildRequires: perl(Module::AutoInstall)
#BuildRequires: perl(Module::Build)
#BuildRequires: perl(Module::Install::Base)
#BuildRequires: perl(YAML::Tiny)
%{perl_requires}
%description %description
MIME::Charset provides informations about character sets used for MIME messages MIME::Charset provides information about character sets used for MIME
on Internet. messages on Internet.
%prep %prep
%setup -q -n "MIME-Charset-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check %files -f %{name}.files
%__make test %defattr(-,root,root,755)
%doc ARTISTIC Changes COPYING README
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README GPL ARTISTIC
%dir %{perl_vendorlib}/MIME
%{perl_vendorlib}/MIME/Charset.pm
%{perl_vendorlib}/MIME/Charset
%doc %{perl_man3dir}/MIME::Charset.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/MIME::Charset::*.%{perl_man3ext}%{ext_man}
%changelog %changelog