commit 4827e8c86f0a6bf8e9e00f547e5e02b49e6f4989 Author: Petr Pisar <ppisar@xxxxxxxxxx> Date: Tue Jul 26 13:16:38 2011 +0200 RPM 4.9 dependency filtering added perl-Padre.spec | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 43 insertions(+), 1 deletions(-) --- diff --git a/perl-Padre.spec b/perl-Padre.spec index d49fb15..703e8cf 100644 --- a/perl-Padre.spec +++ b/perl-Padre.spec @@ -2,7 +2,7 @@ Name: perl-Padre Version: 0.86 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Perl Application Development and Refactoring Environment License: GPL+ or Artistic Group: Development/Libraries @@ -244,6 +244,7 @@ Obsoletes: perl-Wx-Perl-Dialog < 0.01 Provides: perl-Wx-Perl-Dialog > 0.01 Provides: padre = %{version} +# RPM 4.8 style: # Remove too specific requires because of version rounding %filter_from_requires /perl(File::Spec) >= 3.2701/d @@ -283,6 +284,44 @@ Provides: padre = %{version} %filter_from_provides /^perl(ExtUtils::MakeMaker::_version)$/d %filter_setup +# RPM 4.9 style +# Remove too specific requires because of version rounding +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(File::Spec\\) >= 3.2701 + +# Remove underspecified dependencies +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Padre::Config\\)\\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Capture::Tiny\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Class::Inspector\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Class::XSAccessor\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Class::XSAccessor::Array\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Cwd\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(DBD::SQLite\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(DBI\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Encode\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(File::HomeDir\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(File::Path\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(File::ShareDir\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(File::Spec::Functions\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(File::Temp\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(IO::Scalar\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(JSON::XS\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(List::Util\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Module::Build\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Params::Util\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Parse::ErrorString::Perl\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Pod::Abstract\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Pod::Perldoc\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Pod::Simple::XHTML\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Storable\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Text::Balanced\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(threads::shared\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Time::HiRes\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(version\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(Wx::Perl::ProcessStream\\)\\s)*$ +%global __requires_exclude %__requires_exclude|^perl\\(YAML::Tiny\\)\\s)*$ + +# Remove private moduiles +%global __provides_exclude %__provides_exclude|^perl\\(ExtUtils::MakeMaker::_version\\)$ %description Padre is a text editor aimed to be an IDE for Perl. @@ -365,6 +404,9 @@ mkdir "$HOME" %changelog +* Tue Jul 26 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 0.86-5 +- RPM 4.9 dependency filtering added + * Thu Jul 21 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.86-4 - Perl 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