* Wed Mar 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.9917-1

- update to 0.9917. 0.3800-1, below, was never built/released to the wild.
* Mon Sep 25 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3800-1
- update to 0.38. 0.37-1, below, was never built/released to the wild.
* Mon Sep 11 2006 Chris Weyl <cweyl@alumni.drew.edu> 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)
This commit is contained in:
Chris Weyl 2007-03-22 16:08:51 +00:00
parent 0df0c9dc86
commit 131130036a
2 changed files with 42 additions and 7 deletions

10
filter-requires.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
#
# filter some redundant stuff. This is part of the fedora-extras perl-POE
# package.
#
# Chris Weyl <cweyl@alumni.drew.edu> 2006
/usr/lib/rpm/perl.req $* | \
sed -e '/^perl(Tk)$/d'

View File

@ -1,11 +1,11 @@
# Note we make a distinction here due to rpm versioning, and keep them both up # Note we make a distinction here due to rpm versioning, and keep them both up
# here to make things easier # here to make things easier
%define cpanver 0.3601 %define cpanver 0.9917
%define rpmver 0.3601 %define rpmver 0.9917
Name: perl-POE Name: perl-POE
Version: %{rpmver} Version: %{rpmver}
Release: 2%{?dist} Release: 1%{?dist}
Summary: POE - portable multitasking and networking framework for Perl Summary: POE - portable multitasking and networking framework for Perl
Group: Development/Libraries Group: Development/Libraries
@ -20,6 +20,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source98: filter-provides.sh Source98: filter-provides.sh
%define __perl_provides %{SOURCE98} %define __perl_provides %{SOURCE98}
Source99: filter-requires.sh
%define __perl_requires %{SOURCE99}
BuildArch: noarch BuildArch: noarch
BuildRequires: perl, perl(ExtUtils::MakeMaker) BuildRequires: perl, perl(ExtUtils::MakeMaker)
BuildRequires: perl(Tk) >= 800.027, perl(URI) >= 1.30, perl(Socket6) >= 0.14 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 # waiting for update BZ#194521
#BuildRequires: perl(Gtk) >= 0.7009 #BuildRequires: perl(Gtk) >= 0.7009
BuildRequires: perl(IO::Poll) >= 0.01, perl(Term::Cap) >= 1.09, 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 BuildRequires: perl(Compress::Zlib) >= 1.33, perl(Event) >= 1.00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 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} %setup -q -n POE-%{cpanver}
# execute + doc == bad # execute + doc == bad
chmod -x samples/* chmod -x examples/*
%build %build
@ -86,15 +91,23 @@ make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%{_fixperms} %{buildroot}/*
%check %check
# this test fails under plague. Not quite sure why.... # 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 # 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 # not fail nor cause the build/suite to fail. For now just please be aware
@ -109,12 +122,24 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %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}/* %{perl_vendorlib}/*
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Wed Mar 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.9917-1
- update to 0.9917. 0.3800-1, below, was never built/released to the wild.
* Mon Sep 25 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3800-1
- update to 0.38. 0.37-1, below, was never built/released to the wild.
* Mon Sep 11 2006 Chris Weyl <cweyl@alumni.drew.edu> 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 <cweyl@alumni.drew.edu> 0.3601-2 * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3601-2
- bump for mass rebuild - bump for mass rebuild