From 2b4c2b30940130bf45d857fc12fc6bfd90432636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Mon, 27 Feb 2017 12:04:32 +0100 Subject: 2.04 bump
--- .gitignore | 1 + .rpmlint | 2 ++ LICENSE.readme | 20 --------------- perl-POE-Filter-Zlib.spec | 62 +++++++++++++++++++++++++++++++++-------------- sources | 2 +- 5 files changed, 48 insertions(+), 39 deletions(-) create mode 100644 .rpmlint delete mode 100644 LICENSE.readme diff --git a/.gitignore b/.gitignore index 55cac5f..97c1a4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ POE-Filter-Zlib-2.02.tar.gz +/POE-Filter-Zlib-2.04.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..e1a06aa --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* (uncompression|Stackable)"); diff --git a/LICENSE.readme b/LICENSE.readme deleted file mode 100644 index d072142..0000000 --- a/LICENSE.readme +++ /dev/null @@ -1,20 +0,0 @@ -On Thu, Jul 13, 2006 at 11:01:47PM -0700, Chris Weyl wrote: -> Hi Chris! -> -> I'm thinking about packaging POE::Filter::IRCD up for Fedora Extras, -> however I can't find any information as to what license this module is -> released under. Is it under "the same terms as perl itself", namely -> both the GPL and Artistic licenses? - -It is indeed under the same terms as perl. - -Unless clearly expressed all my modules on CPAN are under that licence. - -Many thanks, - --- -Chris Williams -aka BinGOs -PGP ID 0x4658671F -http://www.gumbynet.org.uk -========================== diff --git a/perl-POE-Filter-Zlib.spec b/perl-POE-Filter-Zlib.spec index 2d625b3..87f2fdb 100644 --- a/perl-POE-Filter-Zlib.spec +++ b/perl-POE-Filter-Zlib.spec @@ -1,29 +1,49 @@ Name: perl-POE-Filter-Zlib -Version: 2.02 -Release: 20%{?dist} +Version: 2.04 +Release: 1%{?dist} Summary: POE filter wrapped around Compress::Zlib # note license definition in Makefile.PL License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/POE-Filter-Zlib/ Source0: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/POE-Filter-Zlib-%{version}.tar.gz -# just to be thorough, see also: -Source1: LICENSE.readme BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: glibc-common +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Compress::Raw::Zlib) >= 2 +# POE::Filter version from POE in META data +BuildRequires: perl(POE::Filter) >= 0.38 +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(blib) BuildRequires: perl(Compress::Zlib) >= 1.34 -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(POE) -BuildRequires: perl(POE::Filter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +# Pod::Coverage::TrustPod not used BuildRequires: perl(POE::Filter::Line) BuildRequires: perl(POE::Filter::Stackable) -BuildRequires: perl(Test::Pod) >= 1.00 -BuildRequires: perl(Test::Pod::Coverage) >= 1.00 BuildRequires: perl(Test::More) >= 0.47 -Requires: perl(POE::Filter) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Test::Pod 1.41 not used +# Test::Pod::Coverage 1.08 not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Compress::Raw::Zlib) >= 2 +# POE::Filter version from POE in META data +Requires: perl(POE::Filter) >= 0.38 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Compress::Raw::Zlib|POE::Filter)\\)$ %description POE::Filter::Zlib provides a POE filter for performing compression and @@ -32,28 +52,34 @@ POE::Filter::Stackable. %prep %setup -q -n POE-Filter-Zlib-%{version} -# deal with our licensing.... -cp %{SOURCE1} . +for F in Changes.old; do + iconv -f ISO-8859-1 -t UTF-8 < "$F" > "${F}.utf8" + touch -r "$F" "${F}.utf8" + mv "${F}.utf8" "$F" +done %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete %{_fixperms} %{buildroot}/* %check make test %files -%doc README LICENSE* +%license LICENSE +%doc Changes* README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Feb 27 2017 Petr Pisar <ppi...@redhat.com> - 2.04-1 +- 2.04 bump + * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 2.02-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index f2657b2..730120e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ab66c678dc30dc568f397a4a2f227c5a POE-Filter-Zlib-2.02.tar.gz +SHA512 (POE-Filter-Zlib-2.04.tar.gz) = b831b86d70a267f17d51219a7078dc45e3daa4e96d33794f07d7593af66ad5b55885354597c3f5f6cd7c05fca212ef357122ba253b61d48d4aaeb4068c16f3ab -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-POE-Filter-Zlib.git/commit/?h=master&id=2b4c2b30940130bf45d857fc12fc6bfd90432636 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org