From 131130036abfdec63b8c05f8c55f68fa0a81357e Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Mar 22 2007 16:08:51 +0000 Subject: * Wed Mar 21 2007 Chris Weyl 0.9917-1 - update to 0.9917. 0.3800-1, below, was never built/released to the wild. * Mon Sep 25 2006 Chris Weyl 0.3800-1 - update to 0.38. 0.37-1, below, was never built/released to the wild. * Mon Sep 11 2006 Chris Weyl 0.3700-1 - update to 0.37 - samples/ is now examples/ - add additional br's: perl(IO::Pty), perl(Test::Pod), perl(Test::Pod::Coverage) --- diff --git a/filter-requires.sh b/filter-requires.sh new file mode 100755 index 0000000..ef12bcb --- /dev/null +++ b/filter-requires.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# filter some redundant stuff. This is part of the fedora-extras perl-POE +# package. +# +# Chris Weyl 2006 + +/usr/lib/rpm/perl.req $* | \ + sed -e '/^perl(Tk)$/d' + diff --git a/perl-POE.spec b/perl-POE.spec index bd14dd3..b1a8de9 100644 --- a/perl-POE.spec +++ b/perl-POE.spec @@ -1,11 +1,11 @@ # Note we make a distinction here due to rpm versioning, and keep them both up # here to make things easier -%define cpanver 0.3601 -%define rpmver 0.3601 +%define cpanver 0.9917 +%define rpmver 0.9917 Name: perl-POE Version: %{rpmver} -Release: 2%{?dist} +Release: 1%{?dist} Summary: POE - portable multitasking and networking framework for Perl Group: Development/Libraries @@ -20,6 +20,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source98: filter-provides.sh %define __perl_provides %{SOURCE98} +Source99: filter-requires.sh +%define __perl_requires %{SOURCE99} + + BuildArch: noarch BuildRequires: perl, perl(ExtUtils::MakeMaker) BuildRequires: perl(Tk) >= 800.027, perl(URI) >= 1.30, perl(Socket6) >= 0.14 @@ -28,6 +32,7 @@ BuildRequires: perl(IO::Pty) >= 1.02, perl(Term::ReadKey) >= 2.21 # waiting for update BZ#194521 #BuildRequires: perl(Gtk) >= 0.7009 BuildRequires: perl(IO::Poll) >= 0.01, perl(Term::Cap) >= 1.09, +BuildRequires: perl(IO::Pty), perl(Test::Pod), perl(Test::Pod::Coverage) BuildRequires: perl(Compress::Zlib) >= 1.33, perl(Event) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -72,7 +77,7 @@ and cooperate at every level of abstraction. %setup -q -n POE-%{cpanver} # execute + doc == bad -chmod -x samples/* +chmod -x examples/* %build @@ -86,15 +91,23 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} + make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w %{buildroot}/* + +%{_fixperms} %{buildroot}/* %check # this test fails under plague. Not quite sure why.... -mv tests/90_regression/rt1648-tied-stderr.t . +mv t/90_regression/rt1648-tied-stderr.t . + +# ditto here +rm t/30_loops/50_tk/wheel_run.t + +# enable POD tests +#export POE_TEST_POD=1 # note that there are currently a number of tests that throw errors, but do # not fail nor cause the build/suite to fail. For now just please be aware @@ -109,12 +122,24 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc CHANGES HISTORY README samples TODO rt1648-tied-stderr.t +%doc CHANGES HISTORY README examples/ TODO rt1648-tied-stderr.t %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Wed Mar 21 2007 Chris Weyl 0.9917-1 +- update to 0.9917. 0.3800-1, below, was never built/released to the wild. + +* Mon Sep 25 2006 Chris Weyl 0.3800-1 +- update to 0.38. 0.37-1, below, was never built/released to the wild. + +* Mon Sep 11 2006 Chris Weyl 0.3700-1 +- update to 0.37 +- samples/ is now examples/ +- add additional br's: perl(IO::Pty), perl(Test::Pod), + perl(Test::Pod::Coverage) + * Thu Aug 31 2006 Chris Weyl 0.3601-2 - bump for mass rebuild