diff --git a/MIME-Charset-1.009.1.tar.gz b/MIME-Charset-1.009.1.tar.gz deleted file mode 100644 index fe488e3..0000000 --- a/MIME-Charset-1.009.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9157fc0c93619d5280aded1ae3236918d8cba4f1222732afc887ecf7f9964916 -size 50202 diff --git a/MIME-Charset-1.010.tar.gz b/MIME-Charset-1.010.tar.gz new file mode 100644 index 0000000..6819644 --- /dev/null +++ b/MIME-Charset-1.010.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce267c101537ac84a0fa026a333dde089238b37b5319d8ea5e602ff067e6621b +size 50242 diff --git a/perl-MIME-Charset.changes b/perl-MIME-Charset.changes index 768155c..59ebe68 100644 --- a/perl-MIME-Charset.changes +++ b/perl-MIME-Charset.changes @@ -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 diff --git a/perl-MIME-Charset.spec b/perl-MIME-Charset.spec index 35d5911..a4ff995 100644 --- a/perl-MIME-Charset.spec +++ b/perl-MIME-Charset.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,55 +16,52 @@ # - Name: perl-MIME-Charset -Version: 1.009.1 -Release: 1 -Summary: Charset Informations for MIME -Source: http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/MIME-Charset-%{version}.tar.gz -Url: http://search.cpan.org/dist/MIME-Charset -Group: Development/Libraries/Perl +Version: 1.010 +Release: 0 +%define cpan_name MIME-Charset +Summary: Charset Information for MIME License: Artistic-1.0 or GPL-1.0+ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} -BuildRequires: perl-macros -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 +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/MIME-Charset/ +Source: http://www.cpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz 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 -MIME::Charset provides informations about character sets used for MIME messages -on Internet. +MIME::Charset provides information about character sets used for MIME +messages on Internet. %prep -%setup -q -n "MIME-Charset-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%check -%__make test +%files -f %{name}.files +%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