Hello community, here is the log from the commit of package perl-Gtk2 for openSUSE:Factory checked in at 2020-10-02 17:41:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Gtk2 (Old) and /work/SRC/openSUSE:Factory/.perl-Gtk2.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Gtk2" Fri Oct 2 17:41:22 2020 rev:57 rq:839112 version:1.24993 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Gtk2/perl-Gtk2.changes 2019-10-24 23:11:29.348685094 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Gtk2.new.4249/perl-Gtk2.changes 2020-10-02 17:41:56.614904647 +0200 @@ -1,0 +2,8 @@ +Wed Sep 30 12:52:54 UTC 2020 - Pedro Monreal <pmonr...@suse.com> + +- Temporarily skip failing tests: + * PangoContext.t PangoFont.t PangoFontMap.t + PangoFontset.t PangoRenderer.t +- Add cpanspec.yml and update spec file + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Gtk2.spec ++++++ --- /var/tmp/diff_new_pack.COeZWs/_old 2020-10-02 17:41:58.182905582 +0200 +++ /var/tmp/diff_new_pack.COeZWs/_new 2020-10-02 17:41:58.186905584 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Gtk2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,19 +20,22 @@ Name: perl-Gtk2 Version: 1.24993 Release: 0 -Summary: Perl interface to the 2.x series of the GTK+ library +Summary: Perl interface to the 2.x series of the Gimp Toolkit library License: LGPL-2.1-or-later Group: Development/Libraries/Perl -URL: https://metacpan.org/release/Gtk2 +URL: https://metacpan.org/release/%{cpan_name} Source: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRequires: perl BuildRequires: perl-macros +# MANUAL BEGIN BuildRequires: xorg-x11 BuildRequires: xorg-x11-Xvfb BuildRequires: xorg-x11-server %if 0%{?suse_version} >= 01550 BuildRequires: xvfb-run %endif +# MANUAL END BuildRequires: perl(Cairo) >= 1.000 BuildRequires: perl(ExtUtils::Depends) >= 0.300 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.030000 @@ -45,29 +48,29 @@ Requires: perl(Glib) >= 1.280 Requires: perl(Pango) >= 1.220 Provides: %{name}-devel = %{version} -%perl_requires +%{perl_requires} %description -The Gtk2 module allows a Perl developer to use the GTK+ graphical -user interface library. Find out more about GTK+ at https://gtk.org/ +The Gtk2 module allows a Perl developer to use the Gtk+ graphical user +interface library. Find out more about Gtk+ at http://www.gtk.org. -The GTK+ Reference Manual is also a handy companion when writing -Gtk applications in any language. The Perl bindings follow the -C API very closely, and the C reference documentation should be -considered the canonical source. +The GTK+ Reference Manual is also a handy companion when writing Gtk +programs in any language. http://developer.gnome.org/doc/API/2.0/gtk/ The +Perl bindings follow the C API very closely, and the C reference +documentation should be considered the canonical source. -To discuss gtk2-perl, ask questions and flame/praise the authors, -join gtk-perl-l...@gnome.org at lists.gnome.org. +To discuss gtk2-perl, ask questions and flame/praise the authors, join +gtk-perl-l...@gnome.org at lists.gnome.org. -Also have a look at the gtk2-perl website and sourceforge project -page, http://gtk2-perl.sourceforge.net/ +Also have a look at the gtk2-perl website and sourceforge project page, +http://gtk2-perl.sourceforge.net %prep %setup -q -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} V=1 +make %{?_smp_mflags} %install %perl_make_install @@ -75,16 +78,16 @@ %perl_gen_filelist %check -# Temporarily remove failing test since gdk-pixbuf update to 2.38.2 [bsc#1155004] -rm t/GdkPixbuf.t +# Temporarily remove failing tests [bsc#1155004] +rm t/{GdkPixbuf,PangoContext,PangoFont*,PangoRenderer}.t %if 0%{?suse_version} >= 01550 -xvfb-run make test %{?_smp_mflags} V=1 +xvfb-run -a make test %{?_smp_mflags} %else Xvfb :95 & trap "kill $! || true" EXIT sleep 5 -DISPLAY=:95 make test %{?_smp_mflags} V=1 +DISPLAY=:95 make test %{?_smp_mflags} %endif %files -f %{name}.files ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 2 #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: preamble: |- BuildRequires: xorg-x11 BuildRequires: xorg-x11-Xvfb BuildRequires: xorg-x11-server %if 0%{?suse_version} >= 01550 BuildRequires: xvfb-run %endif #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag custom_test: |- # Temporarily remove failing tests rm t/{GdkPixbuf,PangoContext,PangoFont*,PangoRenderer}.t %if 0%{?suse_version} >= 01550 xvfb-run -a make test %{?_smp_mflags} %else Xvfb :95 & trap "kill $! || true" EXIT sleep 5 DISPLAY=:95 make test %{?_smp_mflags} %endif #startserver && make test #ignore_requires: Bizarre::Module