From 2be4d28740697296cb30eaf107a6bb5a2c6b153a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Mon, 13 Jul 2015 14:54:57 +0200
Subject: 0.022 bump
The xorg-x11-xinit does not seem to be needed anymore.
diff --git a/Gtk3-0.019-position.patch b/Gtk3-0.019-position.patch
new file mode 100644
index 0000000..66d756e
--- /dev/null
+++ b/Gtk3-0.019-position.patch
@@ -0,0 +1,16 @@
+diff --git a/t/overrides.t b/t/overrides.t
+index 041e0aa..6b8fc85 100644
+--- a/t/overrides.t
++++ b/t/overrides.t
+@@ -233,9 +233,9 @@ SKIP: {
+ {
+ my $menu = Gtk3::Menu->new;
+ my $position_callback = sub {
+- my ($menu, $data) = @_;
++ my ($menu, $x, $y) = @_;
+ isa_ok ($menu, "Gtk3::Menu");
+- return @$data;
++ return ($x, $y);
+ };
+ $menu->popup (undef, undef, $position_callback, [50, 50], 1, 0);
+ $menu->popup_for_device (undef, undef, undef, $position_callback, [50, 50,
Glib::TRUE], 1, 0);
diff --git a/perl-Gtk3.spec b/perl-Gtk3.spec
index a6153ee..60fe402 100644
--- a/perl-Gtk3.spec
+++ b/perl-Gtk3.spec
@@ -1,38 +1,49 @@
%global use_x11_tests 1
Name: perl-Gtk3
-Version: 0.021
+Version: 0.022
Release: 1%{?dist}
Summary: Perl interface to the 3.x series of the GTK+ toolkit
License: LGPLv2+
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Gtk3/
Source0:
http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Gtk3-%{version}.tar.gz
+# Silent test's strict refs warning, bug #1199972, CPAN RT#105835
+Patch0: Gtk3-0.019-position.patch
BuildArch: noarch
+BuildRequires: coreutils
+BuildRequires: findutils
BuildRequires: gtk3
+BuildRequires: make
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
# Run-time
-BuildRequires: perl(Carp)
BuildRequires: perl(Cairo::GObject) >= 1.000
-BuildRequires: perl(Glib) >= 1.260
-BuildRequires: perl(Glib::Object::Introspection) >= 0.016
+BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
+BuildRequires: perl(Glib::Object::Introspection) >= 0.016
BuildRequires: perl(POSIX)
# Tests
+# Config used only on FreeBSD
+BuildRequires: perl(constant)
+BuildRequires: perl(Encode)
+BuildRequires: perl(Glib)
BuildRequires: perl(Glib::Object::Subclass)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
+BuildRequires: perl(utf8)
%if %{use_x11_tests}
# X11 tests:
BuildRequires: xorg-x11-server-Xvfb
-BuildRequires: xorg-x11-xinit
BuildRequires: font(:lang=en)
%endif
Requires: gtk3
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
Requires: perl(Cairo::GObject) >= 1.000
-Requires: perl(Glib) >= 1.260
-Requires: perl(Glib::Object::Introspection) >= 0.009
+Requires: perl(Glib::Object::Introspection) >= 0.016
+Requires: perl(POSIX)
# Remove under-specified dependencies
%global __requires_exclude
%{?__requires_exclude:%__requires_exclude|}^perl\\((Cairo::GObject|Glib::Object::Introspection)\\)$
@@ -43,6 +54,7 @@ interface library. Find out more about GTK+ at
<
http://www.gtk.org/>.
%prep
%setup -q -n Gtk3-%{version}
+%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -66,6 +78,9 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_mandir}/man3/*
%changelog
+* Mon Jul 13 2015 Petr Pisar <ppisar(a)redhat.com> - 0.022-1
+- 0.022 bump
+
* Wed Jun 17 2015 Daniel P. Berrange <berrange(a)redhat.com> - 0.021-1
- Update to 0.021 release
diff --git a/sources b/sources
index 81dd6eb..9cc4e8b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c8813ad522bf75af4126796d6b6418c2 Gtk3-0.021.tar.gz
+f9fd50a2dda54299160fc9e22748e996 Gtk3-0.022.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Gtk3.git/commit/?h=master&id=...