Hello community,

here is the log from the commit of package perl-Tk for openSUSE:Factory checked 
in at 2020-05-09 19:52:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Tk (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Tk.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Tk"

Sat May  9 19:52:08 2020 rev:37 rq:800980 version:804.035

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Tk/perl-Tk.changes  2017-09-25 
13:57:21.304236259 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Tk.new.2738/perl-Tk.changes        
2020-05-09 19:52:15.976826532 +0200
@@ -1,0 +2,53 @@
+Mon May  4 22:43:10 UTC 2020 - Pedro Monreal Gonzalez 
<pmonrealgonza...@suse.com>
+
+- Use https and metacpan.org for url and sources
+- Use Devel:Leak, Test::More and Test::Pod for tests
+- Add cpanspec.yml file and mention the patches Tk-804.029-event.diff
+  Tk-804.029-macro.diff Tk-804.029-null.diff Tk-804.029-refcnt.diff
+
+-------------------------------------------------------------------
+Sun Mar 29 03:15:55 UTC 2020 -  <timueller+p...@suse.de>
+
+- updated to 804.035
+   see /usr/share/doc/packages/perl-Tk/Changes
+
+  Tk-804.035 release (2020-03-28)
+  ------------------
+
+  This is basically the same like Tk-804.034_501.
+
+  Tk-804.034_501 release (2020-03-19)
+  ----------------------
+
+  Fixes
+   Add dummy rules for newer EUMM (RT #124910)
+
+   Try harder to find libpng on FreeBSD
+
+  Tk-804.034_500 release (2020-02-23)
+  ----------------------
+
+  Fixes
+   Compiles again with perl 5.31.x (see also
+   github pull request #61 and https://github.com/Perl/perl5/issues/17024
+   by Karl Williamson). Now ppport.h is included in the
+   distribution.
+
+   Switch to X's locale handling if needed (Karl Williamson)
+
+   Don't use buttons 4 and 5 on non-X11 platforms
+   (Christopher Chavez)
+
+   Fix corner case in XPM handling (/* in colors section)
+
+   Spelling/grammar fixes in comments and code (Christopher Chavez)
+
+   Improved demo script photo1.pl (Christopher Chavez)
+
+  Documentation
+   Smaller Pod fixes (Slaven Rezic, Christopher Chavez)
+
+  Tests
+   travis-ci fixes
+
+-------------------------------------------------------------------

Old:
----
  Tk-804.034.tar.gz

New:
----
  Tk-804.035.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Tk.spec ++++++
--- /var/tmp/diff_new_pack.Gu59p6/_old  2020-05-09 19:52:17.300829374 +0200
+++ /var/tmp/diff_new_pack.Gu59p6/_new  2020-05-09 19:52:17.304829383 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Tk
 #
-# Copyright (c) 2017 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
@@ -12,27 +12,42 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           perl-Tk
-Version:        804.034
+Version:        804.035
 Release:        0
-Summary:        Perl Tk
-License:        (GPL-1.0+ or Artistic-1.0) and Zlib
+%define cpan_name Tk
+Summary:        Graphical user interface toolkit for Perl
+License:        (GPL-1.0-or-later OR Artistic-1.0) AND Zlib
 Group:          Development/Libraries/Perl
-Url:            http://cpan.org/modules/by-module/Tk/
-Source:         http://www.cpan.org/modules/by-module/Tk/Tk-%{version}.tar.gz
+URL:            https://metacpan.org/release/Tk
+Source0:        
https://cpan.metacpan.org/authors/id/S/SR/SREZIC/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+# MANUAL BEGIN
 Patch1:         Tk-804.029-macro.diff
 Patch2:         Tk-804.029-null.diff
 Patch3:         Tk-804.029-refcnt.diff
 Patch4:         Tk-804.029-event.diff
-BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
+# MANUAL END
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
+# MANUAL BEGIN
+BuildRequires:  libX11-devel
+BuildRequires:  libXft-devel
+BuildRequires:  liberation-fonts
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
 BuildRequires:  xkeyboard-config
+%if 0%{?suse_version} >= 01550
+BuildRequires:  xvfb-run
+BuildRequires:  perl(Devel::Leak)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+%endif
 BuildRequires:  xorg-x11
 BuildRequires:  xorg-x11-Xnest
 BuildRequires:  xorg-x11-Xvfb
@@ -40,31 +55,36 @@
 BuildRequires:  xorg-x11-fonts
 BuildRequires:  xorg-x11-fonts-100dpi
 BuildRequires:  xorg-x11-fonts-scalable
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
+BuildRequires:  zlib-devel
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 %ifnarch s390 s390x
 BuildRequires:  xorg-x11-server
 %endif
+# MANUAL END
+%{perl_requires}
 
 %description
-Perl Tk is an enhancement for Perl. It combines the well structured
-graphical library Tk with the powerful scripting language Perl.
+Tk - a graphical user interface toolkit for Perl
 
 %package devel
-Summary:        Perl Tk
+Summary:        Development files for perl-Tk
 Group:          Development/Libraries/Perl
 Requires:       %{name} = %{version}
 
 %description devel
-Perl Tk is an enhancement for Perl. It combines the well structured
-graphical library Tk with the powerful scripting language Perl.
+Development files for Tk - a graphical user interface toolkit for Perl
 
 %prep
-%setup -q -n Tk-%{version}
-%patch1
-%patch2
-%patch3
-%patch4
+%setup -q -n %{cpan_name}-%{version}
+%patch1 -p0
+%patch2 -p0
+%patch3 -p0
+%patch4 -p0
+
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
+find . -type f -name "Tcl-pTk" -print0 | xargs -0 chmod +x
+find . -type f -name "mkVFunc" -print0 | xargs -0 chmod +x
 
 %build
 find -name "*.orig" -exec rm {} \;
@@ -80,32 +100,36 @@
   grep -q "%{_prefix}/local/bin/new/perl" $file && \
       sed -i -e "s@%{_prefix}/local/bin/new/perl@%{_bindir}/perl@g" "$file"
 done
-#disable test that require Test
-mv t/browseentry-grabtest.t t/browseentry-grabtest.tt
-mv t/browseentry2.t t/browseentry2.tt
-mv t/entry.t t/entry.tt
-mv t/listbox.t t/listbox.tt
-# disable test that seems to fail at random
-mv t/fileevent2.t t/fileevent2.tt
-perl Makefile.PL XFT=1
+
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" XFT=1
 make %{?_smp_mflags} CFLAGS="%{optflags} -Wall -fpic"
 
 %check
+%if 0%{?suse_version} >= 01550
+xvfb-run -a make test  %{?_smp_mflags} V=1
+%else
 Xvfb :95 -screen 0 1280x1024x24 & #430569
 trap "kill $!" EXIT
 sleep 5
 DISPLAY=:95 make test %{?_smp_mflags}
+%endif
 
 %install
 make DESTDIR=%{buildroot} install_vendor
 %perl_process_packlist
 rm -f %{buildroot}/%{perl_vendorarch}/fix_4_os2.pl
+find %{buildroot} -type f -name '*.bs' -size 0 -delete
 
 %files
-%defattr(-,root,root)
-%doc COPYING Change.log Changes Funcs.doc INSTALL PPM-HowTo README* ToDo 
VERSIONS
+%defattr(-,root,root,755)
+%license COPYING pTk/*license*
+%doc Changes Change.log Funcs.doc PPM-HowTo README README.linux ToDo 
demos/widget VERSIONS
+%doc blib/man1/widget.1
 %{_mandir}/man?/*
-%{_bindir}/*
+%{_bindir}/p*
+%{_bindir}/tkjpeg
+%{_bindir}/gedi
+%{_bindir}/widget
 %{perl_vendorarch}/Tie
 %{perl_vendorarch}/Tk
 %{perl_vendorarch}/Tk.*

++++++ Tk-804.029-event.diff ++++++
--- /var/tmp/diff_new_pack.Gu59p6/_old  2020-05-09 19:52:17.328829435 +0200
+++ /var/tmp/diff_new_pack.Gu59p6/_new  2020-05-09 19:52:17.328829435 +0200
@@ -124,7 +124,7 @@
 -   /* Deactivate */           ACTIVATE,
 -   /* MouseWheel */           KEY
 +
-+   [KeyPress] =                       KEY,
++   [KeyPress] =               KEY,
 +   [KeyRelease] =             KEY,
 +   [ButtonPress] =            BUTTON,
 +   [ButtonRelease] =          BUTTON,

++++++ Tk-804.034.tar.gz -> Tk-804.035.tar.gz ++++++
/work/SRC/openSUSE:Factory/perl-Tk/Tk-804.034.tar.gz 
/work/SRC/openSUSE:Factory/.perl-Tk.new.2738/Tk-804.035.tar.gz differ: char 5, 
line 1

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
patches:
  Tk-804.029-macro.diff: -p0
  Tk-804.029-null.diff: -p0
  Tk-804.029-refcnt.diff: -p0
  Tk-804.029-event.diff: -p0
preamble: |-
  BuildRequires:  libX11-devel
  BuildRequires:  libXft-devel
  BuildRequires:  liberation-fonts
  BuildRequires:  libjpeg-devel
  BuildRequires:  libpng-devel
  BuildRequires:  xkeyboard-config
  %if 0%{?suse_version} >= 01550
  BuildRequires:  xvfb-run
  BuildRequires:  perl(Devel::Leak)
  BuildRequires:  perl(Test::More)
  BuildRequires:  perl(Test::Pod)
  %endif
  BuildRequires:  xorg-x11
  BuildRequires:  xorg-x11-Xnest
  BuildRequires:  xorg-x11-Xvfb
  BuildRequires:  xorg-x11-devel
  BuildRequires:  xorg-x11-fonts
  BuildRequires:  xorg-x11-fonts-100dpi
  BuildRequires:  xorg-x11-fonts-scalable
  BuildRequires:  perl(Encode)
  BuildRequires:  perl(ExtUtils::MakeMaker)
  BuildRequires:  zlib-devel
  %ifnarch s390 s390x
  BuildRequires:  xorg-x11-server
  %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: (GPL-1.0-or-later OR Artistic-1.0) AND Zlib
#skip_noarch: 1
custom_build: |-
  find -name "*.orig" -exec rm {} \;
  for file in `find -type f` ; do
    grep -q "%{_prefix}/local/bin/perl" $file && \
        sed -i -e "s@%{_prefix}/local/bin/perl@%{_bindir}/perl@g" "$file"
    grep -q "%{_prefix}/local/bin/nperl" $file && \
        sed -i -e "s@%{_prefix}/local/bin/nperl@%{_bindir}/nperl@g" "$file"
    grep -q "#!\s*/bin/perl" $file && \
        sed -i -e "s@/bin/perl@%{_bindir}/perl@g" "$file"
    grep -q "#!\s*/tools/local/perl" $file && \
        sed -i -e "s@/tools/local/perl@%{_bindir}/perl@g" "$file"
    grep -q "%{_prefix}/local/bin/new/perl" $file && \
        sed -i -e "s@%{_prefix}/local/bin/new/perl@%{_bindir}/perl@g" "$file"
  done
  perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" XFT=1
  make %{?_smp_mflags} CFLAGS="%{optflags} -Wall -fpic"
custom_test: |-
  %if 0%{?suse_version} >= 01550
  xvfb-run -a make test  %{?_smp_mflags} V=1
  %else
  Xvfb :95 -screen 0 1280x1024x24 & #430569
  trap "kill $!" EXIT
  sleep 5
  DISPLAY=:95 make test %{?_smp_mflags}
  %endif
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to