Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-ntp-client for
openSUSE:Factory checked in at 2022-01-27 23:16:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ntp-client (Old)
and /work/SRC/openSUSE:Factory/.yast2-ntp-client.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ntp-client"
Thu Jan 27 23:16:42 2022 rev:128 rq:949186 version:4.4.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ntp-client/yast2-ntp-client.changes
2022-01-25 17:36:45.678048717 +0100
+++
/work/SRC/openSUSE:Factory/.yast2-ntp-client.new.1898/yast2-ntp-client.changes
2022-01-27 23:17:16.798848386 +0100
@@ -1,0 +2,6 @@
+Tue Jan 25 15:29:37 UTC 2022 - Imobach Gonzalez Sosa <[email protected]>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.3
+
+-------------------------------------------------------------------
Old:
----
yast2-ntp-client-4.4.2.tar.bz2
New:
----
yast2-ntp-client-4.4.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ntp-client.spec ++++++
--- /var/tmp/diff_new_pack.4GtnVI/_old 2022-01-27 23:17:17.418844102 +0100
+++ /var/tmp/diff_new_pack.4GtnVI/_new 2022-01-27 23:17:17.426844047 +0100
@@ -17,7 +17,7 @@
Name: yast2-ntp-client
-Version: 4.4.2
+Version: 4.4.3
Release: 0
Summary: YaST2 - NTP Client Configuration
License: GPL-2.0-or-later
@@ -31,8 +31,8 @@
# need as it own /usr/lib/systemd and for systemd macros
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
-# cwm/popup
-BuildRequires: yast2 >= 4.1.15
+# Replace PackageSystem with Package
+BuildRequires: yast2 >= 4.4.38
BuildRequires: yast2-country
BuildRequires: yast2-country-data
BuildRequires: yast2-devtools >= 4.2.2
@@ -46,8 +46,8 @@
# proper acting TargetFile when scr is switched
Requires: augeas-lenses
-# cwm/popup
-Requires: yast2 >= 4.1.15
+# Replace PackageSystem with Package
+Requires: yast2 >= 4.4.38
Requires: yast2-country-data
# needed for network/config agent
# Y2Network::NtpServer
++++++ yast2-ntp-client-4.4.2.tar.bz2 -> yast2-ntp-client-4.4.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ntp-client-4.4.2/package/yast2-ntp-client.changes
new/yast2-ntp-client-4.4.3/package/yast2-ntp-client.changes
--- old/yast2-ntp-client-4.4.2/package/yast2-ntp-client.changes 2022-01-21
13:29:16.000000000 +0100
+++ new/yast2-ntp-client-4.4.3/package/yast2-ntp-client.changes 2022-01-26
08:47:57.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jan 25 15:29:37 UTC 2022 - Imobach Gonzalez Sosa <[email protected]>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.3
+
+-------------------------------------------------------------------
Fri Jan 21 11:55:46 UTC 2022 - Ladislav Slez??k <[email protected]>
- Unify YaST module mocking in unit tests (related to bsc#1194784)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ntp-client-4.4.2/package/yast2-ntp-client.spec
new/yast2-ntp-client-4.4.3/package/yast2-ntp-client.spec
--- old/yast2-ntp-client-4.4.2/package/yast2-ntp-client.spec 2022-01-21
13:29:16.000000000 +0100
+++ new/yast2-ntp-client-4.4.3/package/yast2-ntp-client.spec 2022-01-26
08:47:57.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-ntp-client
-Version: 4.4.2
+Version: 4.4.3
Release: 0
Summary: YaST2 - NTP Client Configuration
License: GPL-2.0-or-later
@@ -31,8 +31,8 @@
# need as it own /usr/lib/systemd and for systemd macros
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
-# cwm/popup
-BuildRequires: yast2 >= 4.1.15
+# Replace PackageSystem with Package
+BuildRequires: yast2 >= 4.4.38
BuildRequires: yast2-country
BuildRequires: yast2-country-data
BuildRequires: yast2-devtools >= 4.2.2
@@ -46,8 +46,8 @@
# proper acting TargetFile when scr is switched
Requires: augeas-lenses
-# cwm/popup
-Requires: yast2 >= 4.1.15
+# Replace PackageSystem with Package
+Requires: yast2 >= 4.4.38
Requires: yast2-country-data
# needed for network/config agent
# Y2Network::NtpServer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ntp-client-4.4.2/src/clients/ntp-client_proposal.rb
new/yast2-ntp-client-4.4.3/src/clients/ntp-client_proposal.rb
--- old/yast2-ntp-client-4.4.2/src/clients/ntp-client_proposal.rb
2022-01-21 13:29:16.000000000 +0100
+++ new/yast2-ntp-client-4.4.3/src/clients/ntp-client_proposal.rb
2022-01-26 08:47:57.000000000 +0100
@@ -16,7 +16,7 @@
Yast.import "Service"
Yast.import "String"
Yast.import "Stage"
- Yast.import "PackageSystem"
+ Yast.import "Package"
Yast.import "Pkg"
Yast.import "Popup"
Yast.import "Progress"
@@ -509,7 +509,7 @@
Yast.import "Packages"
Packages.addAdditionalPackage(NtpClientClass::REQUIRED_PACKAGE)
# Otherwise, prompt user for confirming pkg installation
- elsif
!PackageSystem.CheckAndInstallPackages([NtpClientClass::REQUIRED_PACKAGE])
+ elsif
!Package.CheckAndInstallPackages([NtpClientClass::REQUIRED_PACKAGE])
Report.Error(
Builtins.sformat(
_("Synchronization with NTP server is not possible\nwithout
package %1 installed."),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ntp-client-4.4.2/src/modules/NtpClient.rb
new/yast2-ntp-client-4.4.3/src/modules/NtpClient.rb
--- old/yast2-ntp-client-4.4.2/src/modules/NtpClient.rb 2022-01-21
13:29:16.000000000 +0100
+++ new/yast2-ntp-client-4.4.3/src/modules/NtpClient.rb 2022-01-26
08:47:57.000000000 +0100
@@ -63,7 +63,7 @@
Yast.import "Message"
Yast.import "Mode"
Yast.import "NetworkInterfaces"
- Yast.import "PackageSystem"
+ Yast.import "Package"
Yast.import "Popup"
Yast.import "Progress"
Yast.import "ProductFeatures"
@@ -348,8 +348,8 @@
# read current settings
return false if !go_next
- if !Mode.installation &&
!PackageSystem.CheckAndInstallPackagesInteractive(["chrony"])
- log.info("PackageSystem::CheckAndInstallPackagesInteractive failed")
+ if !Mode.installation &&
!Package.CheckAndInstallPackagesInteractive(["chrony"])
+ log.info("Package::CheckAndInstallPackagesInteractive failed")
return false
end
@@ -585,8 +585,8 @@
required_package = "yast2-slp"
# if package is not installed (in the inst-sys, it is: bnc#399659)
- if !Stage.initial && !PackageSystem.Installed(required_package)
- if !PackageSystem.CheckAndInstallPackages([required_package])
+ if !Stage.initial && !Package.Installed(required_package)
+ if !Package.CheckAndInstallPackages([required_package])
Report.Error(
Builtins.sformat(
_(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ntp-client-4.4.2/test/ntp_client_proposal_test.rb
new/yast2-ntp-client-4.4.3/test/ntp_client_proposal_test.rb
--- old/yast2-ntp-client-4.4.2/test/ntp_client_proposal_test.rb 2022-01-21
13:29:16.000000000 +0100
+++ new/yast2-ntp-client-4.4.3/test/ntp_client_proposal_test.rb 2022-01-26
08:47:57.000000000 +0100
@@ -129,7 +129,7 @@
before do
allow(subject).to receive(:WriteNtpSettings)
allow(Yast::Stage).to receive(:initial).and_return(initial_stage)
- allow(Yast::PackageSystem).to receive(:CheckAndInstallPackages)
+ allow(Yast::Package).to receive(:CheckAndInstallPackages)
allow(Yast::Report).to receive(:Error)
allow(Yast::NetworkService).to
receive(:isNetworkRunning).and_return(network_running)
allow(Yast::Service).to
receive(:Active).with(ntp_client.service_name).and_return(false)
@@ -203,14 +203,14 @@
context "and is not in the initial stage" do
it "asks user to confirm the package installation" do
- expect(Yast::PackageSystem).to receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to receive(:CheckAndInstallPackages)
subject.Write(params)
end
context "but user rejects the package installation" do
before do
- allow(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).and_return(false)
+ allow(Yast::Package).to
receive(:CheckAndInstallPackages).and_return(false)
end
it "reports an error" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ntp-client-4.4.2/test/ntp_client_test.rb
new/yast2-ntp-client-4.4.3/test/ntp_client_test.rb
--- old/yast2-ntp-client-4.4.2/test/ntp_client_test.rb 2022-01-21
13:29:16.000000000 +0100
+++ new/yast2-ntp-client-4.4.3/test/ntp_client_test.rb 2022-01-26
08:47:57.000000000 +0100
@@ -5,7 +5,7 @@
Yast.import "NtpClient"
Yast.import "NetworkInterfaces"
-Yast.import "PackageSystem"
+Yast.import "Package"
Yast.import "Service"
describe Yast::NtpClient do
@@ -34,7 +34,7 @@
allow(Yast::Service).to receive(:Enabled).with("chronyd").and_return(true)
allow(Yast::NetworkInterfaces).to receive(:Read)
allow(Yast::Progress)
- allow(Yast::PackageSystem).to receive(:CheckAndInstallPackagesInteractive)
+ allow(Yast::Package).to receive(:CheckAndInstallPackagesInteractive)
.with(["chrony"]).and_return(true)
end
@@ -139,7 +139,7 @@
allow(Yast::Service).to
receive(:Enabled).with("chronyd").and_return(true)
allow(Yast::NetworkInterfaces).to receive(:Read)
allow(Yast::Progress)
- allow(Yast::PackageSystem).to
receive(:CheckAndInstallPackagesInteractive)
+ allow(Yast::Package).to receive(:CheckAndInstallPackagesInteractive)
.with(["chrony"]).and_return(true)
end
@@ -190,7 +190,7 @@
context "when Mode is not installation" do
it "returns false if the ntp package neither is installed nor
available" do
- expect(Yast::PackageSystem).to
receive(:CheckAndInstallPackagesInteractive)
+ expect(Yast::Package).to receive(:CheckAndInstallPackagesInteractive)
.with(["chrony"]).and_return(false)
expect(Yast::Service).not_to receive(:Enabled)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ntp-client-4.4.2/test/y2ntp_client/client/auto_test.rb
new/yast2-ntp-client-4.4.3/test/y2ntp_client/client/auto_test.rb
--- old/yast2-ntp-client-4.4.2/test/y2ntp_client/client/auto_test.rb
2022-01-21 13:29:16.000000000 +0100
+++ new/yast2-ntp-client-4.4.3/test/y2ntp_client/client/auto_test.rb
2022-01-26 08:47:57.000000000 +0100
@@ -15,7 +15,7 @@
before do
allow(Yast::Service).to receive(:Enabled).with("chronyd").and_return(true)
allow(Yast::NetworkInterfaces).to receive(:Read)
- allow(Yast::PackageSystem).to receive(:CheckAndInstallPackagesInteractive)
+ allow(Yast::Package).to receive(:CheckAndInstallPackagesInteractive)
.with(["chrony"]).and_return(true)
Yast::NtpClient.Read
end