[perl-POE-Test-Loops] 1.312 bump, dependencies and filters update, cleanup
Petr Sabata
psabata at fedoraproject.org
Wed Jul 27 12:49:20 UTC 2011
commit a4d4b8e197e6d283fffe0a209558f5c28ebd7eb6
Author: Petr Sabata <contyk at redhat.com>
Date: Wed Jul 27 14:48:36 2011 +0200
1.312 bump, dependencies and filters update, cleanup
.gitignore | 1 +
perl-POE-Test-Loops.spec | 42 +++++++++++++++++++++++++++---------------
sources | 2 +-
3 files changed, 29 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 35e1a1f..fa287a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
POE-Test-Loops-1.035.tar.gz
+/POE-Test-Loops-1.312.tar.gz
diff --git a/perl-POE-Test-Loops.spec b/perl-POE-Test-Loops.spec
index 13e02b7..bedfb4c 100644
--- a/perl-POE-Test-Loops.spec
+++ b/perl-POE-Test-Loops.spec
@@ -1,22 +1,35 @@
Name: perl-POE-Test-Loops
Summary: Reusable tests for POE::Loop authors
-Version: 1.035
-Release: 4%{?dist}
+Version: 1.312
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-Test-Loops-%{version}.tar.gz
URL: http://search.cpan.org/dist/POE-Test-Loops
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
-
+BuildRequires: perl(constant)
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Path)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IO::Socket)
+BuildRequires: perl(IO::Socket::INET)
+BuildRequires: perl(POE)
+BuildRequires: perl(Socket)
BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(constant)
-
-%{?filter_from_provides: %filter_from_provides /perl([DIFMOSU].*)/d; /perl(POE::MySession)/d }
+# RPM 4.8 style
+%{?filter_from_provides: %filter_from_provides /perl([DIFMOSU].*)/d; /perl(POE::MySession)/d; /perl(POE::Kernel)/d; /perl(PoeTestWorker)/d; }
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
+# RPM 4.9 style
+%global __provides_exclude %{?__provides_exclude:__requires_exclude|}^perl\\(POE::MySession\\)
+%global __provides_exclude %__provides_exclude|perl\\(POE::Kernel\\)
+%global __provides_exclude %__provides_exclude|perl\\(PoeTestWorker\\)
+%global __provides_exclude %__provides_exclude|perl\\([DIFMOSU].*\\)
%description
POE::Test::Loops contains one function, generate(), which will generate
@@ -27,7 +40,6 @@ the POE::Test::Loops system in more detail.
%prep
%setup -q -n POE-Test-Loops-%{version}
-
find . -type f -exec chmod -c -x {} ';'
%build
@@ -35,22 +47,15 @@ find . -type f -exec chmod -c -x {} ';'
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc CHANGES README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
@@ -58,6 +63,13 @@ rm -rf %{buildroot}
%{_mandir}/man1/poe-gen-tests.1.gz
%changelog
+* Wed Jul 27 2011 Petr Sabata <contyk at redhat.com> - 1.312-1
+- 1.312 bump (needed by current POE)
+- Drop Buildroot and defattr support
+- Fix dependencies a bit
+- Add RPM 4.9 style filters
+- Filter POE::Kernel and PoeTestWorker from Provides
+
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.035-4
- Perl mass rebuild
diff --git a/sources b/sources
index c49c15e..e9107c5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-94fe16d5247a6054d966c3c95746f766 POE-Test-Loops-1.035.tar.gz
+8e352fe9c9592d642cdf8a4230af6ad2 POE-Test-Loops-1.312.tar.gz
More information about the scm-commits
mailing list