Hello community, here is the log from the commit of package yast2-printer for openSUSE:Factory checked in at 2019-07-31 14:20:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-printer (Old) and /work/SRC/openSUSE:Factory/.yast2-printer.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-printer" Wed Jul 31 14:20:05 2019 rev:145 rq:707640 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-printer/yast2-printer.changes 2019-03-28 22:46:51.991073314 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-printer.new.4126/yast2-printer.changes 2019-07-31 14:20:06.602609155 +0200 @@ -1,0 +2,8 @@ +Fri May 31 12:35:47 UTC 2019 - Stasiek Michalski <hel...@mailbox.org> + +- Add metainfo (fate#319035) +- Revamp spec +- Replace GenericName with Comment +- 4.2.0 + +------------------------------------------------------------------- Old: ---- yast2-printer-4.1.1.tar.bz2 New: ---- yast2-printer-4.2.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-printer.spec ++++++ --- /var/tmp/diff_new_pack.oxdMS3/_old 2019-07-31 14:20:07.214608668 +0200 +++ /var/tmp/diff_new_pack.oxdMS3/_new 2019-07-31 14:20:07.222608662 +0200 @@ -17,53 +17,44 @@ Name: yast2-printer -Version: 4.1.1 +Version: 4.2.0 Release: 0 +Summary: YaST2 - Printer Configuration +License: GPL-2.0-only +Group: System/YaST +Url: https://github.com/yast/yast-printer -BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 BuildRequires: update-desktop-files BuildRequires: xorg-x11-libX11-devel BuildRequires: yast2 -BuildRequires: yast2-devtools >= 3.1.10 +BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-testsuite -Recommends: cups-client iptables netcat samba-client - Requires: /bin/mktemp Requires: /usr/bin/sed Requires: yast2 >= 3.1.183 - # Used to exclude libX11, libXau, libxcb, and libxcb-xlib from the requires list # which are pulled in by Autoreqprov because of the basicadd_displaytest tool: %define my_requires /tmp/my-requires - Requires: yast2-ruby-bindings >= 1.0.0 -Obsoletes: yast2-printer-devel-doc +Recommends: cups-client iptables netcat samba-client -Summary: YaST2 - Printer Configuration -License: GPL-2.0-only -Group: System/YaST +Obsoletes: yast2-printer-devel-doc %description This package contains the YaST2 component for printer configuration. %prep -%setup -n %{name}-%{version} +%setup -q %build %yast_build %install %yast_install - -# Remove the license from the /usr/share/doc/packages directory, -# it is also included in the /usr/share/licenses directory by using -# the %license tag. -rm -f $RPM_BUILD_ROOT/%{yast_docdir}/COPYING - # Exclude libX11, libXau, libxcb, and libxcb-xlib from the requires list # which are pulled in by Autoreqprov because of the basicadd_displaytest tool: cat << EOF > %{my_requires} @@ -71,34 +62,19 @@ EOF chmod 755 %{my_requires} %define __find_requires %{my_requires} +%yast_metainfo %files -%defattr(-,root,root) -%dir %{yast_yncludedir}/printer -%{yast_desktopdir}/printer.desktop -%{yast_moduledir}/*.rb -%{yast_clientdir}/printer* -%{yast_yncludedir}/printer/* -%{yast_schemadir}/autoyast/rnc/printer.rnc -%{yast_ydatadir}/testprint.ps -%{yast_ydatadir}/testprint.2pages.ps -%{yast_ybindir}/autodetect_print_queues -%{yast_ybindir}/autodetect_printers -%{yast_ybindir}/create_printer_ppd_database -%{yast_ybindir}/determine_printer_driver_options -%{yast_ybindir}/cups_client_only -%{yast_ybindir}/modify_cupsd_conf -%{yast_ybindir}/test_device -%{yast_ybindir}/test_remote_ipp -%{yast_ybindir}/test_remote_lpd -%{yast_ybindir}/test_remote_novell -%{yast_ybindir}/test_remote_smb -%{yast_ybindir}/test_remote_socket -%{yast_ybindir}/basicadd_displaytest +%{yast_desktopdir} +%{yast_metainfodir} +%{yast_moduledir} +%{yast_clientdir} +%{yast_yncludedir} +%{yast_schemadir} +%{yast_ydatadir} +%{yast_ybindir} %{yast_icondir} - -#Documentation -%dir %{yast_docdir} +%doc %{yast_docdir} %license COPYING %changelog ++++++ yast2-printer-4.1.1.tar.bz2 -> yast2-printer-4.2.0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/Dockerfile new/yast2-printer-4.2.0/Dockerfile --- old/yast2-printer-4.1.1/Dockerfile 2019-03-26 16:21:16.000000000 +0100 +++ new/yast2-printer-4.2.0/Dockerfile 2019-06-04 16:57:10.000000000 +0200 @@ -1,4 +1,4 @@ -FROM yastdevel/ruby +FROM registry.opensuse.org/yast/head/containers/yast-ruby:latest RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ xorg-x11-libX11-devel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/package/yast2-printer.changes new/yast2-printer-4.2.0/package/yast2-printer.changes --- old/yast2-printer-4.1.1/package/yast2-printer.changes 2019-03-26 16:21:16.000000000 +0100 +++ new/yast2-printer-4.2.0/package/yast2-printer.changes 2019-06-04 16:57:10.000000000 +0200 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri May 31 12:35:47 UTC 2019 - Stasiek Michalski <hel...@mailbox.org> + +- Add metainfo (fate#319035) +- Revamp spec +- Replace GenericName with Comment +- 4.2.0 + +------------------------------------------------------------------- Thu Mar 21 19:25:40 UTC 2019 - Stefan Hundhammer <shundham...@suse.com> - Security hardening (bsc#1118291) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/package/yast2-printer.spec new/yast2-printer-4.2.0/package/yast2-printer.spec --- old/yast2-printer-4.1.1/package/yast2-printer.spec 2019-03-26 16:21:16.000000000 +0100 +++ new/yast2-printer-4.2.0/package/yast2-printer.spec 2019-06-04 16:57:10.000000000 +0200 @@ -12,58 +12,48 @@ # 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: yast2-printer -Version: 4.1.1 +Version: 4.2.0 Release: 0 +Summary: YaST2 - Printer Configuration +License: GPL-2.0-only +Group: System/YaST +Url: https://github.com/yast/yast-printer -BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 - BuildRequires: update-desktop-files BuildRequires: xorg-x11-libX11-devel BuildRequires: yast2 -BuildRequires: yast2-devtools >= 3.1.10 +BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-testsuite -Recommends: cups-client iptables netcat samba-client - Requires: /bin/mktemp /usr/bin/sed Requires: yast2 >= 3.1.183 - # Used to exclude libX11, libXau, libxcb, and libxcb-xlib from the requires list # which are pulled in by Autoreqprov because of the basicadd_displaytest tool: %define my_requires /tmp/my-requires - Requires: yast2-ruby-bindings >= 1.0.0 -Obsoletes: yast2-printer-devel-doc +Recommends: cups-client iptables netcat samba-client -Summary: YaST2 - Printer Configuration -License: GPL-2.0-only -Group: System/YaST +Obsoletes: yast2-printer-devel-doc %description This package contains the YaST2 component for printer configuration. %prep -%setup -n %{name}-%{version} +%setup -q %build %yast_build %install %yast_install - -# Remove the license from the /usr/share/doc/packages directory, -# it is also included in the /usr/share/licenses directory by using -# the %license tag. -rm -f $RPM_BUILD_ROOT/%{yast_docdir}/COPYING - # Exclude libX11, libXau, libxcb, and libxcb-xlib from the requires list # which are pulled in by Autoreqprov because of the basicadd_displaytest tool: cat << EOF > %{my_requires} @@ -71,35 +61,19 @@ EOF chmod 755 %{my_requires} %define __find_requires %{my_requires} - +%yast_metainfo %files -%defattr(-,root,root) -%dir %{yast_yncludedir}/printer -%{yast_desktopdir}/printer.desktop -%{yast_moduledir}/*.rb -%{yast_clientdir}/printer* -%{yast_yncludedir}/printer/* -%{yast_schemadir}/autoyast/rnc/printer.rnc -%{yast_ydatadir}/testprint.ps -%{yast_ydatadir}/testprint.2pages.ps -%{yast_ybindir}/autodetect_print_queues -%{yast_ybindir}/autodetect_printers -%{yast_ybindir}/create_printer_ppd_database -%{yast_ybindir}/determine_printer_driver_options -%{yast_ybindir}/cups_client_only -%{yast_ybindir}/modify_cupsd_conf -%{yast_ybindir}/test_device -%{yast_ybindir}/test_remote_ipp -%{yast_ybindir}/test_remote_lpd -%{yast_ybindir}/test_remote_novell -%{yast_ybindir}/test_remote_smb -%{yast_ybindir}/test_remote_socket -%{yast_ybindir}/basicadd_displaytest +%{yast_desktopdir} +%{yast_metainfodir} +%{yast_moduledir} +%{yast_clientdir} +%{yast_yncludedir} +%{yast_schemadir} +%{yast_ydatadir} +%{yast_ybindir} %{yast_icondir} - -#Documentation -%dir %{yast_docdir} +%doc %{yast_docdir} %license COPYING %changelog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/src/Makefile.am new/yast2-printer-4.2.0/src/Makefile.am --- old/yast2-printer-4.1.1/src/Makefile.am 2019-03-26 16:21:16.000000000 +0100 +++ new/yast2-printer-4.2.0/src/Makefile.am 2019-06-04 16:57:10.000000000 +0200 @@ -31,7 +31,7 @@ autoyast-rnc/printer.rnc desktop_DATA = \ - desktop/printer.desktop + desktop/org.opensuse.yast.Printer.desktop symbolicdir = @icondir@/hicolor/symbolic/apps symbolic_DATA = \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/src/desktop/org.opensuse.yast.Printer.desktop new/yast2-printer-4.2.0/src/desktop/org.opensuse.yast.Printer.desktop --- old/yast2-printer-4.1.1/src/desktop/org.opensuse.yast.Printer.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-printer-4.2.0/src/desktop/org.opensuse.yast.Printer.desktop 2019-06-04 16:57:10.000000000 +0200 @@ -0,0 +1,24 @@ +[Desktop Entry] +Type=Application +Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Hardware; + +X-KDE-ModuleType=Library +X-KDE-HasReadOnlyMode=true + +X-SuSE-YaST-Call=printer +X-SuSE-YaST-Group=Hardware +X-SuSE-YaST-Argument= +X-SuSE-YaST-RootOnly=true +X-SuSE-YaST-Geometry= +X-SuSE-YaST-SortKey= +X-SuSE-YaST-AutoInst=all +X-SuSE-YaST-AutoInstResource=printer +X-SuSE-YaST-AutoInstClonable=true +X-SuSE-YaST-AutoInstSchema=printer.rnc + +Icon=yast-printer +Exec=xdg-su -c "/sbin/yast2 printer" + +Name=YaST Printer +GenericName=Printer +Comment=Configure printers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/src/desktop/printer.desktop new/yast2-printer-4.2.0/src/desktop/printer.desktop --- old/yast2-printer-4.1.1/src/desktop/printer.desktop 2019-03-26 16:21:16.000000000 +0100 +++ new/yast2-printer-4.2.0/src/desktop/printer.desktop 1970-01-01 01:00:00.000000000 +0100 @@ -1,23 +0,0 @@ -[Desktop Entry] -Type=Application -Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Hardware; - -X-KDE-ModuleType=Library -X-KDE-HasReadOnlyMode=true - -X-SuSE-YaST-Call=printer -X-SuSE-YaST-Group=Hardware -X-SuSE-YaST-Argument= -X-SuSE-YaST-RootOnly=true -X-SuSE-YaST-Geometry= -X-SuSE-YaST-SortKey= -X-SuSE-YaST-AutoInst=all -X-SuSE-YaST-AutoInstResource=printer -X-SuSE-YaST-AutoInstClonable=true -X-SuSE-YaST-AutoInstSchema=printer.rnc - -Icon=yast-printer -Exec=xdg-su -c "/sbin/yast2 printer" - -Name=Printer -GenericName=Configure printers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/src/include/printer/overview.rb new/yast2-printer-4.2.0/src/include/printer/overview.rb --- old/yast2-printer-4.1.1/src/include/printer/overview.rb 2019-03-26 16:21:16.000000000 +0100 +++ new/yast2-printer-4.2.0/src/include/printer/overview.rb 2019-06-04 16:57:10.000000000 +0200 @@ -150,7 +150,7 @@ "If you really must use a non-official port, you cannot use\n" + "the YaST printer module to configure your printers.\n" ) - Wizard.SetDesktopIcon("printer") + Wizard.SetDesktopIcon("org.opensuse.yast.Printer") # The button with "back/cancel" functionality is removed here # only because here it happens faster than only in the handleOverview function # to avoid that the button is visible for some time until it is actually removed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-printer-4.1.1/src/include/printer/wizards.rb new/yast2-printer-4.2.0/src/include/printer/wizards.rb --- old/yast2-printer-4.1.1/src/include/printer/wizards.rb 2019-03-26 16:21:16.000000000 +0100 +++ new/yast2-printer-4.2.0/src/include/printer/wizards.rb 2019-06-04 16:57:10.000000000 +0200 @@ -153,7 +153,7 @@ "write" => { :abort => :abort, :next => :next } } Wizard.CreateDialog - Wizard.SetDesktopIcon("printer") + Wizard.SetDesktopIcon("org.opensuse.yast.Printer") ret = Sequencer.Run(aliases, sequence) UI.CloseDialog deep_copy(ret)