Hello community,

here is the log from the commit of package yast2-ntp-client for 
openSUSE:Factory checked in at 2019-11-20 10:26:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ntp-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-ntp-client.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-ntp-client"

Wed Nov 20 10:26:38 2019 rev:116 rq:748689 version:4.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ntp-client/yast2-ntp-client.changes        
2019-10-16 09:11:46.588010162 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-ntp-client.new.26869/yast2-ntp-client.changes 
    2019-11-20 10:26:39.926555445 +0100
@@ -1,0 +2,7 @@
+Thu Nov 14 13:32:05 UTC 2019 - Josef Reidinger <[email protected]>
+
+- Break autoyast<->yast2-ntp-client cycle (related to changes done
+  for jsc#SLE-7101)
+- 4.2.6
+
+-------------------------------------------------------------------

Old:
----
  yast2-ntp-client-4.2.5.tar.bz2

New:
----
  yast2-ntp-client-4.2.6.tar.bz2

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

Other differences:
------------------
++++++ yast2-ntp-client.spec ++++++
--- /var/tmp/diff_new_pack.PUk2uW/_old  2019-11-20 10:26:40.606555581 +0100
+++ /var/tmp/diff_new_pack.PUk2uW/_new  2019-11-20 10:26:40.622555584 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ntp-client
-Version:        4.2.5
+Version:        4.2.6
 Release:        0
 Summary:        YaST2 - NTP Client Configuration
 License:        GPL-2.0-or-later
@@ -27,14 +27,13 @@
 Source0:        %{name}-%{version}.tar.bz2
 
 BuildRequires:  augeas-lenses
-BuildRequires:  autoyast2-installation
-BuildRequires:  perl-XML-Writer
 BuildRequires:  update-desktop-files
 # need as it own /usr/lib/systemd and for systemd macros
 BuildRequires:  systemd-rpm-macros
 %{?systemd_requires}
 # cwm/popup
 BuildRequires:  yast2 >= 4.1.15
+BuildRequires:  yast2-country
 BuildRequires:  yast2-country-data
 BuildRequires:  yast2-devtools >= 4.2.2
 BuildRequires:  rubygem(%rb_default_ruby_abi:cfa) >= 0.6.0

++++++ yast2-ntp-client-4.2.5.tar.bz2 -> yast2-ntp-client-4.2.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-4.2.5/package/yast2-ntp-client.changes 
new/yast2-ntp-client-4.2.6/package/yast2-ntp-client.changes
--- old/yast2-ntp-client-4.2.5/package/yast2-ntp-client.changes 2019-10-15 
15:02:57.000000000 +0200
+++ new/yast2-ntp-client-4.2.6/package/yast2-ntp-client.changes 2019-11-14 
14:46:19.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu Nov 14 13:32:05 UTC 2019 - Josef Reidinger <[email protected]>
+
+- Break autoyast<->yast2-ntp-client cycle (related to changes done
+  for jsc#SLE-7101)
+- 4.2.6
+
+-------------------------------------------------------------------
 Mon Oct 14 18:20:17 UTC 2019 - Josef Reidinger <[email protected]>
 
 - switch from cron to systemd timers (jsc#SLE-9113)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ntp-client-4.2.5/package/yast2-ntp-client.spec 
new/yast2-ntp-client-4.2.6/package/yast2-ntp-client.spec
--- old/yast2-ntp-client-4.2.5/package/yast2-ntp-client.spec    2019-10-15 
15:02:57.000000000 +0200
+++ new/yast2-ntp-client-4.2.6/package/yast2-ntp-client.spec    2019-11-14 
14:46:19.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ntp-client
-Version:        4.2.5
+Version:        4.2.6
 Release:        0
 Summary:        YaST2 - NTP Client Configuration
 License:        GPL-2.0-or-later
@@ -27,14 +27,13 @@
 Source0:        %{name}-%{version}.tar.bz2
 
 BuildRequires:  augeas-lenses
-BuildRequires:  autoyast2-installation
-BuildRequires:  perl-XML-Writer
 BuildRequires:  update-desktop-files
 # need as it own /usr/lib/systemd and for systemd macros
 BuildRequires: systemd-rpm-macros
 %{?systemd_requires}
 # cwm/popup
 BuildRequires:  yast2 >= 4.1.15
+BuildRequires:  yast2-country
 BuildRequires:  yast2-country-data
 BuildRequires:  yast2-devtools >= 4.2.2
 BuildRequires:  rubygem(%rb_default_ruby_abi:cfa) >= 0.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ntp-client-4.2.5/test/fixtures/autoyast/autoinst.xml 
new/yast2-ntp-client-4.2.6/test/fixtures/autoyast/autoinst.xml
--- old/yast2-ntp-client-4.2.5/test/fixtures/autoyast/autoinst.xml      
2019-10-15 15:02:57.000000000 +0200
+++ new/yast2-ntp-client-4.2.6/test/fixtures/autoyast/autoinst.xml      
1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE profile>
-<profile xmlns="http://www.suse.com/1.0/yast2ns"; 
xmlns:config="http://www.suse.com/1.0/configns";>
-  <general>
-    <ask-list config:type="list"/>
-    <mode>
-      <confirm config:type="boolean">false</confirm>
-    </mode>
-    <proposals config:type="list"/>
-    <signature-handling>
-      <accept_file_without_checksum 
config:type="boolean">true</accept_file_without_checksum>
-      <accept_non_trusted_gpg_key 
config:type="boolean">true</accept_non_trusted_gpg_key>
-      <accept_unknown_gpg_key 
config:type="boolean">true</accept_unknown_gpg_key>
-      <accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
-      <accept_verification_failed 
config:type="boolean">false</accept_verification_failed>
-      <import_gpg_key config:type="boolean">true</import_gpg_key>
-    </signature-handling>
-  </general>
-  <ntp-client>
-    <ntp_policy>eth*</ntp_policy>
-    <ntp_servers config:type="list">
-      <ntp_server>
-        <iburst config:type="boolean">false</iburst>
-        <address>cz.pool.ntp.org</address>
-        <offline config:type="boolean">true</offline>
-      </ntp_server>
-    </ntp_servers>
-    <ntp_sync>15</ntp_sync>
-  </ntp-client>
-</profile>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ntp-client-4.2.5/test/ntp_client_test.rb 
new/yast2-ntp-client-4.2.6/test/ntp_client_test.rb
--- old/yast2-ntp-client-4.2.5/test/ntp_client_test.rb  2019-10-15 
15:02:57.000000000 +0200
+++ new/yast2-ntp-client-4.2.6/test/ntp_client_test.rb  2019-11-14 
14:46:19.000000000 +0100
@@ -7,7 +7,6 @@
 Yast.import "NetworkInterfaces"
 Yast.import "PackageSystem"
 Yast.import "Service"
-Yast.import "Profile"
 
 describe Yast::NtpClient do
 
@@ -40,28 +39,24 @@
   end
 
   describe "#AutoYaST methods" do
-    FIXTURES_PATH = File.join(File.dirname(__FILE__), "fixtures")
-
     let(:ntp_client_section) do
-      # Yast Profile respect changed SCR, but xmlagent not, so it crashed in
-      # changed SCR root, so reset it back for this part
-      reset_scr_root
-      file = File.join(FIXTURES_PATH, "autoyast", profile_name)
-      Yast::Profile.ReadXML(file)
-      profile = Yast::Profile.current["ntp-client"]
-      change_scr_root(File.join(data_dir, "scr_root"))
-
-      profile
+      {
+        "ntp_policy"  => "eth*",
+        "ntp_servers" => [
+          "iburst"  => false,
+          "address" => "cz.pool.ntp.org",
+          "offline" => true
+        ],
+        "ntp_sync"    => "15"
+      }
     end
 
     describe "#Import" do
-      context "with a correct AutoYaST configuration file" do
-        let(:profile_name) { "autoinst.xml" }
-
-        before(:each) do
-          subject.Import(ntp_client_section)
-        end
+      before(:each) do
+        subject.Import(ntp_client_section)
+      end
 
+      context "with a correct AutoYaST configuration file" do
         it "sets properly netconfig policy" do
           expect(subject.ntp_policy).to eq "eth*"
         end
@@ -82,10 +77,6 @@
       context "with an empty AutoYaST configuration" do
         let(:ntp_client_section) { {} }
 
-        before(:each) do
-          subject.Import(ntp_client_section)
-        end
-
         it "clears all ntp servers" do
           expect(subject.GetUsedNtpServers).to be_empty
         end


Reply via email to