commit 288a7ba18536f1fa4785ebcd59d91226f4db4042 Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> Date: Mon Feb 14 13:53:24 2011 +0100 fix broken filter with RPM4.9 perl-Class-Prototyped.spec | 29 ++++++++++++----------------- 1 files changed, 12 insertions(+), 17 deletions(-) --- diff --git a/perl-Class-Prototyped.spec b/perl-Class-Prototyped.spec index 7c5f9d6..e5438b0 100644 --- a/perl-Class-Prototyped.spec +++ b/perl-Class-Prototyped.spec @@ -1,6 +1,6 @@ Name: perl-Class-Prototyped Version: 1.11 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Fast prototype-based OO programming in Perl License: GPL+ or Artistic Group: Development/Libraries @@ -11,6 +11,8 @@ BuildArch: noarch BuildRequires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?perl_default_filter} + %description This package provides for efficient and simple prototype-based programming in Perl. You can provide different subroutines for each object, and also @@ -19,22 +21,12 @@ have objects inherit their behavior and state from another object. %prep %setup -q -n Class-Prototyped-%{version} -cat <<EOF >%{name}-prov -#!/bin/bash -# Filter out bogus provides from documentation -%{__perl_provides} $@ |sed -e 's/perl([ABCD])//g;s/perl(My[^)]*Class)//g' -EOF - -cat <<EOF >%{name}-req -#!/bin/bash -# Class/Prototyped/Graph.pm doesn't define Class::Prototyped::Graph package -# Benchmark is dragged in by a regression test -%{__perl_requires} $@ |sed -e '/perl(Class::Prototyped::Graph)/d;/perl(Benchmark)/d' -EOF - -%global __perl_provides %{_builddir}/Class-Prototyped-%{version}/%{name}-prov -%global __perl_requires %{_builddir}/Class-Prototyped-%{version}/%{name}-req -chmod +x %{__perl_provides} %{__perl_requires} +%{?filter_setup: +%filter_from_provides /^perl(My[^)]*Class)$/g +%filter_from_requires /^perl(Class::Prototyped::Graph)$/g +%filter_requires_in %{_docdir}/examples +%filter_setup +} # Documentation and libraries should not be executable chmod -x perf/* examples/* Changes lib/Class/*.pm lib/Class/Prototyped/* @@ -65,6 +57,9 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Mon Feb 14 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 1.11-9 +- fix broken filter + * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel