Hello community,
here is the log from the commit of package yast2-firstboot for openSUSE:Factory checked in at 2019-07-31 14:24:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-firstboot (Old)
and /work/SRC/openSUSE:Factory/.yast2-firstboot.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-firstboot"
Wed Jul 31 14:24:48 2019 rev:80 rq:717493 version:4.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-firstboot/yast2-firstboot.changes 2019-05-15 12:23:06.074273185 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-firstboot.new.4126/yast2-firstboot.changes 2019-07-31 14:24:49.694339443 +0200
@@ -1,0 +2,15 @@
+Mon Jul 15 16:05:34 UTC 2019 - Imobach Gonzalez Sosa
+
+- Do not rely on the already dropped DNS.proposal_valid method
+ (related to bsc#1140199).
+- 4.2.1
+
+-------------------------------------------------------------------
+Sat Jun 8 01:20:29 UTC 2019 - Stasiek Michalski
+
+- Use new schema of desktop files (boo#1084864)
+- Clean up spec
+- Rename desktop files
+- 4.2.0
+
+-------------------------------------------------------------------
Old:
----
yast2-firstboot-4.1.7.tar.bz2
New:
----
yast2-firstboot-4.2.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-firstboot.spec ++++++
--- /var/tmp/diff_new_pack.x6JlXB/_old 2019-07-31 14:24:50.146338930 +0200
+++ /var/tmp/diff_new_pack.x6JlXB/_new 2019-07-31 14:24:50.150338926 +0200
@@ -12,22 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: yast2-firstboot
-Version: 4.1.7
+Version: 4.2.1
Release: 0
+Summary: YaST2 - Initial System Configuration
+License: GPL-2.0-only
+Group: System/YaST
+Url: https://github.com/yast/yast-firstboot
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
BuildRequires: docbook-xsl-stylesheets
BuildRequires: libxslt
BuildRequires: update-desktop-files
-BuildRequires: yast2-devtools >= 3.1.10
+BuildRequires: yast2-devtools >= 4.2.2
+PreReq: %fillup_prereq
# yast2/NeworkDevices -> yast2/NetworkInterfaces
Requires: yast2 >= 2.16.23
# Language::SwitchToEnglishIfNeeded
@@ -35,17 +39,11 @@
# Rely on the YaST2-Firstboot.service for halting the system on failure
Requires: yast2-installation >= 4.1.2
# network autoconfiguration
-Requires: yast2-network >= 3.1.91
-
-BuildArch: noarch
-
Requires: yast2-configuration-management >= 4.1.3
+Requires: yast2-network >= 3.1.91
Requires: yast2-ruby-bindings >= 1.0.0
-Summary: YaST2 - Initial System Configuration
-License: GPL-2.0-only
-Group: System/YaST
-PreReq: %fillup_prereq
+BuildArch: noarch
%description
The YaST firstboot utility runs after installation is completed. It
@@ -59,18 +57,14 @@
created to personalize the system.
%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
+%yast_metainfo
mkdir -p $RPM_BUILD_ROOT/usr/share/firstboot/scripts
@@ -78,37 +72,20 @@
%{fillup_only -n firstboot}
%files
-%defattr(-,root,root)
-%dir %{yast_ystartupdir}/startup
-%dir %{yast_ystartupdir}/startup/Firstboot-Stage
-%{yast_ystartupdir}/startup/Firstboot-Stage/*
-%{yast_ystartupdir}/startup/YaST2.Firstboot
-%{yast_clientdir}/firstboot_*.rb
-%{yast_clientdir}/firstboot.rb
-%dir %{yast_libdir}
-%dir %{yast_libdir}/y2firstboot
-%dir %{yast_libdir}/y2firstboot/clients
-%{yast_libdir}/y2firstboot/clients/*.rb
-%dir %{yast_yncludedir}
-%dir %{yast_yncludedir}/firstboot
-%{yast_yncludedir}/firstboot/*.rb
-%dir %{yast_moduledir}
-%{yast_moduledir}/Firstboot.*
-%dir %{yast_scrconfdir}
-%{yast_scrconfdir}/*.scr
-%{_fillupdir}/sysconfig.firstboot
-/usr/share/firstboot
+%{yast_ystartupdir}
+%{yast_clientdir}
+%{yast_libdir}
+%{yast_yncludedir}
+%{yast_moduledir}
+%{yast_scrconfdir}
+%{_fillupdir}
+%{_datadir}/firstboot
%doc %{yast_docdir}
%license COPYING
-%dir /etc/YaST2/
-/etc/YaST2/*.xml
-%dir /usr/share/autoinstall
-%dir /usr/share/autoinstall/modules
-/usr/share/autoinstall/modules/firstboot.desktop
-%dir %{yast_schemadir}
-%dir %{yast_schemadir}/autoyast
-%dir %{yast_schemadir}/autoyast/rnc
-%{yast_schemadir}/autoyast/rnc/firstboot.rnc
+%{_sysconfdir}/YaST2
+%{_datadir}/autoinstall
+%{yast_schemadir}
%{yast_icondir}
+%{yast_metainfodir}
%changelog
++++++ yast2-firstboot-4.1.7.tar.bz2 -> yast2-firstboot-4.2.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/desktop/Makefile.am new/yast2-firstboot-4.2.1/desktop/Makefile.am
--- old/yast2-firstboot-4.1.7/desktop/Makefile.am 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/desktop/Makefile.am 2019-07-22 11:09:28.000000000 +0200
@@ -2,7 +2,7 @@
modconfigdir = $(prefix)/share/autoinstall/modules
-modconfig_DATA = firstboot.desktop
+modconfig_DATA = org.opensuse.yast.Firstboot.desktop
EXTRA_DIST = $(modconfig_DATA)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/desktop/firstboot.desktop new/yast2-firstboot-4.2.1/desktop/firstboot.desktop
--- old/yast2-firstboot-4.1.7/desktop/firstboot.desktop 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/desktop/firstboot.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-Misc;
-
-X-KDE-ModuleType=Library
-X-KDE-HasReadOnlyMode=true
-X-SuSE-YaST-Call=firstboot
-
-X-SuSE-YaST-Group=Misc
-X-SuSE-YaST-Argument=
-X-SuSE-YaST-RootOnly=true
-X-SuSE-YaST-AutoInst=all
-X-SuSE-YaST-Geometry=
-X-SuSE-YaST-SortKey=
-X-SuSE-YaST-AutoInstDataType=map
-X-SuSE-YaST-AutoInstSchema=firstboot.rnc
-
-Exec=
-Icon=yast-firstboot
-
-Name=Firstboot Configuration
-GenericName=Enable or disable starting Firstboot sequence
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/desktop/org.opensuse.yast.Firstboot.desktop new/yast2-firstboot-4.2.1/desktop/org.opensuse.yast.Firstboot.desktop
--- old/yast2-firstboot-4.1.7/desktop/org.opensuse.yast.Firstboot.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-firstboot-4.2.1/desktop/org.opensuse.yast.Firstboot.desktop 2019-07-22 11:09:28.000000000 +0200
@@ -0,0 +1,24 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;
+
+X-KDE-ModuleType=Library
+X-KDE-HasReadOnlyMode=true
+X-SuSE-YaST-Call=firstboot
+
+X-SuSE-YaST-Group=Misc
+X-SuSE-YaST-Argument=
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=all
+X-SuSE-YaST-Geometry=
+X-SuSE-YaST-SortKey=
+X-SuSE-YaST-AutoInstDataType=map
+X-SuSE-YaST-AutoInstSchema=firstboot.rnc
+
+Exec=
+Icon=yast-firstboot
+
+Name=YaST Firstboot
+GenericName=Firstboot Configuration
+Comment=Enable or disable starting Firstboot sequence
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/package/yast2-firstboot.changes new/yast2-firstboot-4.2.1/package/yast2-firstboot.changes
--- old/yast2-firstboot-4.1.7/package/yast2-firstboot.changes 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/package/yast2-firstboot.changes 2019-07-22 11:09:28.000000000 +0200
@@ -1,4 +1,19 @@
-------------------------------------------------------------------
+Mon Jul 15 16:05:34 UTC 2019 - Imobach Gonzalez Sosa
+
+- Do not rely on the already dropped DNS.proposal_valid method
+ (related to bsc#1140199).
+- 4.2.1
+
+-------------------------------------------------------------------
+Sat Jun 8 01:20:29 UTC 2019 - Stasiek Michalski
+
+- Use new schema of desktop files (boo#1084864)
+- Clean up spec
+- Rename desktop files
+- 4.2.0
+
+-------------------------------------------------------------------
Mon May 13 11:31:56 UTC 2019 - David Diaz
- Update the firstboot.xml template to use the "firstboot_licenses"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/package/yast2-firstboot.spec new/yast2-firstboot-4.2.1/package/yast2-firstboot.spec
--- old/yast2-firstboot-4.1.7/package/yast2-firstboot.spec 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/package/yast2-firstboot.spec 2019-07-22 11:09:28.000000000 +0200
@@ -12,37 +12,37 @@
# 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-firstboot
-Version: 4.1.7
+Version: 4.2.1
Release: 0
+Summary: YaST2 - Initial System Configuration
+Group: System/YaST
+License: GPL-2.0-only
+Url: https://github.com/yast/yast-firstboot
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
-Group: System/YaST
-License: GPL-2.0-only
-BuildRequires: update-desktop-files docbook-xsl-stylesheets libxslt
-BuildRequires: yast2-devtools >= 3.1.10
+BuildRequires: update-desktop-files
+BuildRequires: docbook-xsl-stylesheets
+BuildRequires: libxslt
+BuildRequires: yast2-devtools >= 4.2.2
+PreReq: %fillup_prereq
# yast2/NeworkDevices -> yast2/NetworkInterfaces
-Requires: yast2 >= 2.16.23
+Requires: yast2 >= 2.16.23
# Language::SwitchToEnglishIfNeeded
-Requires: yast2-country >= 2.19.5
+Requires: yast2-country >= 2.19.5
# Rely on the YaST2-Firstboot.service for halting the system on failure
-Requires: yast2-installation >= 4.1.2
+Requires: yast2-installation >= 4.1.2
# network autoconfiguration
-Requires: yast2-network >= 3.1.91
-
-BuildArchitectures: noarch
-
+Requires: yast2-network >= 3.1.91
Requires: yast2-ruby-bindings >= 1.0.0
Requires: yast2-configuration-management >= 4.1.3
-Summary: YaST2 - Initial System Configuration
-PreReq: %fillup_prereq
+BuildArch: noarch
%description
The YaST firstboot utility runs after installation is completed. It
@@ -56,18 +56,14 @@
created to personalize the system.
%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
+%yast_metainfo
mkdir -p $RPM_BUILD_ROOT/usr/share/firstboot/scripts
@@ -76,35 +72,20 @@
%{fillup_only -n firstboot}
%files
-%defattr(-,root,root)
-%dir %{yast_ystartupdir}/startup
-%dir %{yast_ystartupdir}/startup/Firstboot-Stage
-%{yast_ystartupdir}/startup/Firstboot-Stage/*
-%{yast_ystartupdir}/startup/YaST2.Firstboot
-%{yast_clientdir}/firstboot_*.rb
-%{yast_clientdir}/firstboot.rb
-%dir %{yast_libdir}
-%dir %{yast_libdir}/y2firstboot
-%dir %{yast_libdir}/y2firstboot/clients
-%{yast_libdir}/y2firstboot/clients/*.rb
-%dir %{yast_yncludedir}
-%dir %{yast_yncludedir}/firstboot
-%{yast_yncludedir}/firstboot/*.rb
-%dir %{yast_moduledir}
-%{yast_moduledir}/Firstboot.*
-%dir %{yast_scrconfdir}
-%{yast_scrconfdir}/*.scr
-%{_fillupdir}/sysconfig.firstboot
-/usr/share/firstboot
+%{yast_ystartupdir}
+%{yast_clientdir}
+%{yast_libdir}
+%{yast_yncludedir}
+%{yast_moduledir}
+%{yast_scrconfdir}
+%{_fillupdir}
+%{_datadir}/firstboot
%doc %{yast_docdir}
%license COPYING
-%dir /etc/YaST2/
-/etc/YaST2/*.xml
-%dir /usr/share/autoinstall
-%dir /usr/share/autoinstall/modules
-/usr/share/autoinstall/modules/firstboot.desktop
-%dir %{yast_schemadir}
-%dir %{yast_schemadir}/autoyast
-%dir %{yast_schemadir}/autoyast/rnc
-%{yast_schemadir}/autoyast/rnc/firstboot.rnc
+%{_sysconfdir}/YaST2
+%{_datadir}/autoinstall
+%{yast_schemadir}
%{yast_icondir}
+%{yast_metainfodir}
+
+%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/src/clients/firstboot_hostname.rb new/yast2-firstboot-4.2.1/src/clients/firstboot_hostname.rb
--- old/yast2-firstboot-4.1.7/src/clients/firstboot_hostname.rb 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/src/clients/firstboot_hostname.rb 2019-07-22 11:09:28.000000000 +0200
@@ -29,6 +29,19 @@
# YaST2-Network when the second stage was removed from the installation
# process
class FirstbootHostnameClient < Client
+ class << self
+ # @!method valid_dns_proposal=(value)
+ # @param [Boolean] Whether a valid DNS proposal was done
+ attr_writer :valid_dns_proposal
+
+ # Determines whether a valid DNS proposal was done
+ #
+ # @return [Boolean] Returns true if a DNS proposal was done
+ def valid_dns_proposal
+ @valid_dns_proposal ||= false
+ end
+ end
+
def main
Yast.import "UI"
@@ -48,7 +61,7 @@
# only once, do not re-propose if user gets back to this dialog from
# the previous screen - bnc#438124
- if !DNS.proposal_valid
+ if !self.class.valid_dns_proposal
DNS.Read # handles NetworkConfig too
DNS.ProposeHostname # generate random hostname, if none known so far
@@ -59,7 +72,7 @@
DNS.write_hostname = DNS.DefaultWriteHostname
end
- Wizard.SetDesktopIcon("dns")
+ Wizard.SetDesktopIcon("org.opensuse.yast.DNS")
ret = HostnameDialog()
if ret == :next
@@ -68,7 +81,7 @@
Host.Write
# do not let Lan override us, #152218
- DNS.proposal_valid = true
+ self.class.valid_dns_proposal = true
# In InstHostname writing was delayed to do it with the rest of
# network configuration in lan_proposal.
@@ -94,9 +107,8 @@
Frame(
_("Hostname and Domain Name"),
VBox(
- HBox("HOSTNAME", HSpacing(1), "DOMAIN"),
- Left("DHCP_HOSTNAME"),
- Left("WRITE_HOSTNAME")
+ Left("HOSTNAME"),
+ Left("DHCP_HOSTNAME")
)
)
)
@@ -112,7 +124,7 @@
"disable_buttons" => GetInstArgs.enable_back ? [] : ["back_button"]
)
- if ret == :next
+ if ret == :next
# Pre-populate resolv.conf search list with current domain name
# but only if none exists so far
current_domain = Ops.get_string(@hn_settings, "DOMAIN", "")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/src/clients/firstboot_language.rb new/yast2-firstboot-4.2.1/src/clients/firstboot_language.rb
--- old/yast2-firstboot-4.1.7/src/clients/firstboot_language.rb 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/src/clients/firstboot_language.rb 2019-07-22 11:09:28.000000000 +0200
@@ -59,7 +59,7 @@
@result = :again
# create the wizard dialog
while @result == :again
- Wizard.SetDesktopIcon("language")
+ Wizard.SetDesktopIcon("org.opensuse.yast.Language")
@args = GetInstArgs.argmap
Ops.set(@args, "first_run", "yes")
@result = WFM.CallFunction("inst_language", [@args])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/src/clients/firstboot_ntp.rb new/yast2-firstboot-4.2.1/src/clients/firstboot_ntp.rb
--- old/yast2-firstboot-4.1.7/src/clients/firstboot_ntp.rb 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/src/clients/firstboot_ntp.rb 2019-07-22 11:09:28.000000000 +0200
@@ -35,7 +35,7 @@
@progress_orig = Progress.set(false)
- Wizard.SetDesktopIcon("ntp-client")
+ Wizard.SetDesktopIcon("org.opensuse.yast.NTPClient")
NtpClient.Read
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-4.1.7/src/clients/firstboot_timezone.rb new/yast2-firstboot-4.2.1/src/clients/firstboot_timezone.rb
--- old/yast2-firstboot-4.1.7/src/clients/firstboot_timezone.rb 2019-05-13 16:28:37.000000000 +0200
+++ new/yast2-firstboot-4.2.1/src/clients/firstboot_timezone.rb 2019-07-22 11:09:28.000000000 +0200
@@ -51,7 +51,7 @@
@timezone_on_entry = Timezone.timezone
@hwclock_on_entry = Timezone.hwclock
- Wizard.SetDesktopIcon("timezone")
+ Wizard.SetDesktopIcon("org.opensuse.yast.Timezone")
#------------------------------------------------------------