New version. New filter! :)
This commit is contained in:
parent
1dde1dfb5c
commit
a86c397589
11
filter-provides.sh
Executable file
11
filter-provides.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/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.prov $* | \
|
||||||
|
sed -e '/^perl(POE::Kernel)$/d' -e '/^perl(POE::Loop::Tk)$/d' \
|
||||||
|
-e 's/:Resources:/:Resource:/'
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
# $Id: perl-POE.spec,v 1.3 2006/06/15 19:25:20 cweyl Exp $
|
# $Id: perl-POE.spec,v 1.4 2006/06/21 04:24:05 cweyl Exp $
|
||||||
|
|
||||||
Name: perl-POE
|
Name: perl-POE
|
||||||
Version: 0.3501
|
Version: 0.3502
|
||||||
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
|
||||||
@ -11,6 +11,12 @@ URL: http://search.cpan.org/dist/POE/
|
|||||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
# there's some perl-foo that goes on, automagically translating
|
||||||
|
# POE::Resource::Bar -> POE::Resources::Bar. Let's account for that here.
|
||||||
|
# also nix errant versionless provides.
|
||||||
|
Source98: filter-provides.sh
|
||||||
|
%define __perl_provides %{SOURCE98}
|
||||||
|
|
||||||
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
|
||||||
@ -22,6 +28,7 @@ BuildRequires: perl(IO::Poll) >= 0.01, perl(Term::Cap) >= 1.09,
|
|||||||
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))
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
POE is a framework for cooperative, event driven multitasking in Perl. Other
|
POE is a framework for cooperative, event driven multitasking in Perl. Other
|
||||||
languages have similar frameworks. Python has Twisted. TCL has "the event
|
languages have similar frameworks. Python has Twisted. TCL has "the event
|
||||||
@ -62,8 +69,6 @@ and cooperate at every level of abstraction.
|
|||||||
# execute + doc == bad
|
# execute + doc == bad
|
||||||
chmod -x samples/*
|
chmod -x samples/*
|
||||||
|
|
||||||
# this test fails under plague. Not quite sure why....
|
|
||||||
mv tests/90_regression/rt1648-tied-stderr.t .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --default
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --default
|
||||||
@ -84,6 +89,9 @@ chmod -R u+w %{buildroot}/*
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# this test fails under plague. Not quite sure why....
|
||||||
|
mv tests/90_regression/rt1648-tied-stderr.t .
|
||||||
|
|
||||||
# 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
|
||||||
# that there will be some noisy output as the tests are run.
|
# that there will be some noisy output as the tests are run.
|
||||||
@ -103,6 +111,11 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 20 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3502-1
|
||||||
|
- filter errant provides. Also translate POE::Provides::foo modules to
|
||||||
|
POE::Provide::foo
|
||||||
|
- Bump to latest version released
|
||||||
|
|
||||||
* Thu Jun 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-2
|
* Thu Jun 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-2
|
||||||
- Nix test that was causing build to fail in plague
|
- Nix test that was causing build to fail in plague
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user