commit perl-Tk for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Tk for openSUSE:Factory checked in at 2015-09-03 18:03:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Tk (Old) and /work/SRC/openSUSE:Factory/.perl-Tk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Tk" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Tk/perl-Tk.changes 2014-07-21 10:35:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Tk.new/perl-Tk.changes 2015-09-03 18:07:52.000000000 +0200 @@ -1,0 +2,16 @@ +Mon Aug 31 13:55:44 UTC 2015 - tchvatal@suse.com + +- Remove provides on quite wrong header file in devel subpkg pointing + to perl 5.8.8 dir +- Use inline parameter for sed, well this should be redone more +- Cleanup bit with spec-cleaner + +------------------------------------------------------------------- +Mon Aug 31 13:51:40 UTC 2015 - dimstar@opensuse.org + +- Update to version 804.033: + + New t/pod.t test (github pull request #16). +- Drop Tk-804.032-tkglue.diff and Tk-804.032-freetype.diff: Fixed + upstream. + +------------------------------------------------------------------- Old: ---- Tk-804.032-freetype.diff Tk-804.032-tkglue.diff Tk-804.032.tar.gz New: ---- Tk-804.033.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Tk.spec ++++++ --- /var/tmp/diff_new_pack.cmzLLU/_old 2015-09-03 18:08:15.000000000 +0200 +++ /var/tmp/diff_new_pack.cmzLLU/_new 2015-09-03 18:08:15.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Tk # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,37 +17,33 @@ Name: perl-Tk -BuildRequires: libpng-devel -BuildRequires: xkeyboard-config -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 -%ifnarch s390 s390x -BuildRequires: xorg-x11-server -%endif -Version: 804.032 +Version: 804.033 Release: 0 Summary: Perl Tk License: (GPL-1.0+ or Artistic-1.0) and Zlib Group: Development/Libraries/Perl Url: http://cpan.org/modules/by-module/Tk/ -Source: Tk-%{version}.tar.gz +Source: http://www.cpan.org/modules/by-module/Tk/Tk-%{version}.tar.gz Patch1: Tk-804.029-macro.diff Patch2: Tk-804.029-null.diff Patch3: Tk-804.029-refcnt.diff Patch4: Tk-804.029-event.diff -# PATCH-FIX-UPSTREAM no segfaults if Tk::MainWindow::Create was called without args -Patch5: Tk-804.032-tkglue.diff -# PATCH-FIX-UPSTREAM look also for /usr/include/freetype2/freetype.h -Patch6: Tk-804.032-freetype.diff +BuildRequires: libpng-devel BuildRequires: perl BuildRequires: perl-macros +BuildRequires: xkeyboard-config +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 BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} +%ifnarch s390 s390x +BuildRequires: xorg-x11-server +%endif %description Perl Tk is an enhancement for Perl. It combines the well structured @@ -57,7 +53,6 @@ Summary: Perl Tk Group: Development/Libraries/Perl Requires: %{name} = %{version} -Provides: perl-Tk:/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Tk/pTk/Lang.h %description devel Perl Tk is an enhancement for Perl. It combines the well structured @@ -69,32 +64,20 @@ %patch2 %patch3 %patch4 -%patch5 -p1 -%patch6 -p1 %build find -name "*.orig" -exec rm {} \; for file in `find -type f` ; do - grep "/usr/local/bin/perl" $file && \ - cat $file | \ - sed -e "s@/usr/local/bin/perl@/usr/bin/perl@g" > tmpfile && \ - mv tmpfile $file - grep "/usr/local/bin/nperl" $file && \ - cat $file | \ - sed -e "s@/usr/local/bin/nperl@/usr/bin/nperl@g" > tmpfile && \ - mv tmpfile $file - grep "#!\s*/bin/perl" $file && \ - cat $file | \ - sed -e "s@/bin/perl@/usr/bin/perl@g" > tmpfile && \ - mv tmpfile $file - grep "#!\s*/tools/local/perl" $file && \ - cat $file | \ - sed -e "s@/tools/local/perl@/usr/bin/perl@g" > tmpfile && \ - mv tmpfile $file - grep "/usr/local/bin/new/perl" $file && \ - cat $file | \ - sed -e "s@/usr/local/bin/new/perl@/usr/bin/perl@g" > tmpfile && \ - mv tmpfile $file + 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 #disable test that require Test mv t/browseentry-grabtest.t t/browseentry-grabtest.tt @@ -110,20 +93,17 @@ Xvfb :95 -screen 0 1280x1024x24 & #430569 trap "kill $!" EXIT sleep 5 -DISPLAY=:95 make test +DISPLAY=:95 make test %{?_smp_mflags} %install make DESTDIR=%{buildroot} install_vendor %perl_process_packlist rm -f %{buildroot}/%{perl_vendorarch}/fix_4_os2.pl -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %doc COPYING Change.log Changes Funcs.doc INSTALL PPM-HowTo README* ToDo VERSIONS -%doc %{_mandir}/man?/* +%{_mandir}/man?/* %{_bindir}/* %{perl_vendorarch}/Tie %{perl_vendorarch}/Tk ++++++ Tk-804.032.tar.gz -> Tk-804.033.tar.gz ++++++ /work/SRC/openSUSE:Factory/perl-Tk/Tk-804.032.tar.gz /work/SRC/openSUSE:Factory/.perl-Tk.new/Tk-804.033.tar.gz differ: char 5, line 1
participants (1)
-
root@hilbert.suse.de