commit 0dc4c14c0d8862145a9e48e39e285f76a830e743 Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> Date: Thu Apr 21 15:14:29 2011 +0200 Add provides, which should fix gcstar. They must be provided by this package. Use new filtering of requires. Filter of provides not needed anymore. perl-Gtk2.spec | 36 +++++++++++++++++------------------- 1 files changed, 17 insertions(+), 19 deletions(-) --- diff --git a/perl-Gtk2.spec b/perl-Gtk2.spec index 61f1e86..c8df25a 100644 --- a/perl-Gtk2.spec +++ b/perl-Gtk2.spec @@ -6,7 +6,7 @@ Name: perl-Gtk2 Version: 1.203 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Perl interface to the 2.x series of the Gimp Toolkit library Group: Development/Libraries @@ -26,7 +26,17 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi Requires: perl(Glib) >= 1.200 Requires: perl(Cairo) >= 1.00 -%{?perl_default_filter} +# these can't be automatically obtained, but they are provided by this package +Provides: perl(Gtk2::ScrolledWindow) +Provides: perl(Gtk2::Dialog) +Provides: perl(Gtk2::Toolbar) +Provides: perl(Gtk2::TreeView) +Provides: perl(Gtk2::MenuBar) +Provides: perl(Gtk2::VBox) +Provides: perl(Gtk2::Window) +Provides: perl(Gtk2::MessageDialog) + +%global __requires_exclude perl\\(Glib\\) %description This module allows you to write Gtk+ graphical user interfaces in a @@ -41,23 +51,6 @@ API. Find out more about Gtk+ at http://www.gtk.org. iconv -f iso-8859-1 -t utf-8 -o pm/Helper.pm{.utf8,} mv pm/Helper.pm{.utf8,} -# Provides: exclude perl(main) -cat <<__EOF__ > %{name}-perl.prov -#!/bin/sh -/usr/lib/rpm/perl.prov \$* | grep -v '^perl(main)$' -__EOF__ -%define __perl_provides %{_builddir}/Gtk2-%{version}/%{name}-perl.prov -chmod +x %{__perl_provides} - -# Requires: exclude unversioned perl(Glib) -cat <<__EOF__ > %{name}-perl.req -#!/bin/sh -/usr/lib/rpm/perl.req \$* | grep -v '^perl(Glib)$' -__EOF__ -%define __perl_requires %{_builddir}/Gtk2-%{version}/%{name}-perl.req -chmod +x %{__perl_requires} - - %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} @@ -90,6 +83,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 14 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> - 1.223-2 +- add provides, which should fix gcstar. They must be provided by this + package. +- use new filtering of requires. Filter of provides not needed anymore. + * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.203-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