Hello community,

here is the log from the commit of package yast2-kdump for openSUSE:Factory 
checked in at 2015-02-08 13:02:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-kdump (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-kdump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-kdump"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-kdump/yast2-kdump.changes  2014-12-05 
21:03:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-kdump.new/yast2-kdump.changes     
2015-02-08 13:02:58.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Feb  6 13:06:53 UTC 2015 - [email protected]
+
+- The unit tests are now compatible with RSpec 3 (bnc#916364)
+- 3.1.21
+
+-------------------------------------------------------------------

Old:
----
  yast2-kdump-3.1.20.tar.bz2

New:
----
  yast2-kdump-3.1.21.tar.bz2

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

Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.oLoZX6/_old  2015-02-08 13:02:59.000000000 +0100
+++ /var/tmp/diff_new_pack.oLoZX6/_new  2015-02-08 13:02:59.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-kdump
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products 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,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.20
+Version:        3.1.21
 Release:        0
 Summary:        Configuration of kdump
 License:        GPL-2.0
@@ -28,10 +28,11 @@
 BuildRequires:  update-desktop-files
 BuildRequires:  yast2
 BuildRequires:  rubygem(rspec)
+BuildRequires:  rubygem(yast-rake)
 # Wizard::SetDesktopTitleAndIcon
 BuildRequires:  yast2 >= 2.21.22
 BuildRequires:  yast2-bootloader
-BuildRequires:  yast2-devtools >= 3.1.10
+BuildRequires:  yast2-buildtools >= 3.1.10
 BuildRequires:  yast2-packager >= 2.17.24
 BuildRequires:  yast2-storage
 BuildRequires:  yast2-testsuite
@@ -50,21 +51,16 @@
 %description
 Configuration of kdump
 
-%package devel-doc
-Summary:        Development documentation for yast2-kdump
-Group:          System/YaST
-
-%description devel-doc
-Development documentation for yast2-kdump including generated code 
documentation
-
 %prep
 %setup -q
 
+%check
+rake test:unit
+
 %build
-%yast_build
 
 %install
-%yast_install
+rake install DESTDIR="%{buildroot}"
 
 %files
 %defattr(-,root,root)
@@ -76,11 +72,6 @@
 %{yast_desktopdir}/kdump.desktop
 %{yast_schemadir}/autoyast/rnc/kdump.rnc
 %{yast_scrconfdir}/*.scr
-%doc %{yast_docdir}/COPYING
-
-%files devel-doc
-%defattr(-,root,root)
 %doc %{yast_docdir}
-%exclude %doc %{yast_docdir}/COPYING
 
 %changelog

++++++ yast2-kdump-3.1.20.tar.bz2 -> yast2-kdump-3.1.21.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/.travis.yml 
new/yast2-kdump-3.1.21/.travis.yml
--- old/yast2-kdump-3.1.20/.travis.yml  2014-12-04 11:27:54.000000000 +0100
+++ new/yast2-kdump-3.1.21/.travis.yml  2015-02-06 14:46:01.000000000 +0100
@@ -5,12 +5,9 @@
     # disable rvm, use system Ruby
     - rvm reset
     - wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
-    - sh ./travis_setup.sh -p "rake yast2-devtools yast2-testsuite yast2 
yast2-packager yast2-storage yast2-bootloader" -g "rspec:2.14.1 yast-rake 
gettext"
+    - sh ./travis_setup.sh -p "rake yast2-devtools yast2 yast2-packager 
yast2-storage yast2-bootloader" -g "rspec:2.14.1 yast-rake gettext"
 script:
     - rake check:syntax
     - rake check:pot
-    - make -f Makefile.cvs
-    - make
-    - sudo make install
-    - make check
-
+    - rake test:unit
+    - sudo rake install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/Makefile.cvs 
new/yast2-kdump-3.1.21/Makefile.cvs
--- old/yast2-kdump-3.1.20/Makefile.cvs 2014-12-04 11:27:54.000000000 +0100
+++ new/yast2-kdump-3.1.21/Makefile.cvs 1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-#
-# Makefile.cvs
-#
-PREFIX = /usr
-
-LIB = $(shell y2tool get-lib)
-
-configure: all
-       ./configure --prefix=$(PREFIX) --libdir=$(PREFIX)/$(LIB)
-
-all:
-       y2tool y2autoconf
-       y2tool y2automake
-       autoreconf --force --install
-
-install: configure
-       make
-       make install
-
-reconf: all
-       ./config.status --recheck
-       ./config.status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/configure.in.in 
new/yast2-kdump-3.1.21/configure.in.in
--- old/yast2-kdump-3.1.20/configure.in.in      2014-12-04 11:27:55.000000000 
+0100
+++ new/yast2-kdump-3.1.21/configure.in.in      1970-01-01 01:00:00.000000000 
+0100
@@ -1,12 +0,0 @@
-## YCP module configure.in.in
-
-## Initialize
-@YAST2-INIT-COMMON@
-@YAST2-INIT-YCP@
-
-## some common checks
-@YAST2-CHECKS-COMMON@
-@YAST2-CHECKS-YCP@
-
-## and generate the output...
-@YAST2-OUTPUT@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/doc/Makefile.am 
new/yast2-kdump-3.1.21/doc/Makefile.am
--- old/yast2-kdump-3.1.20/doc/Makefile.am      2014-12-04 11:27:55.000000000 
+0100
+++ new/yast2-kdump-3.1.21/doc/Makefile.am      1970-01-01 01:00:00.000000000 
+0100
@@ -1,10 +0,0 @@
-# Makefile.am for kdump/doc
-
-SUBDIRS = autodocs
-
-htmldir = $(docdir)
-
-doc_DATA =
-html_DATA =
-
-EXTRA_DIST = $(doc_DATA) $(html_DATA)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/doc/autodocs/Makefile.am 
new/yast2-kdump-3.1.21/doc/autodocs/Makefile.am
--- old/yast2-kdump-3.1.20/doc/autodocs/Makefile.am     2014-12-04 
11:27:55.000000000 +0100
+++ new/yast2-kdump-3.1.21/doc/autodocs/Makefile.am     1970-01-01 
01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-# Makefile.am for kdump/doc/autodocs
-
-include $(top_srcdir)/autodocs-ycp.ami
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/package/yast2-kdump.changes 
new/yast2-kdump-3.1.21/package/yast2-kdump.changes
--- old/yast2-kdump-3.1.20/package/yast2-kdump.changes  2014-12-04 
11:27:55.000000000 +0100
+++ new/yast2-kdump-3.1.21/package/yast2-kdump.changes  2015-02-06 
14:46:01.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Feb  6 13:06:53 UTC 2015 - [email protected]
+
+- The unit tests are now compatible with RSpec 3 (bnc#916364)
+- 3.1.21
+
+-------------------------------------------------------------------
 Thu Dec  4 09:50:21 UTC 2014 - [email protected]
 
 - remove X-KDE-Library from desktop file (bnc#899104)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/package/yast2-kdump.spec 
new/yast2-kdump-3.1.21/package/yast2-kdump.spec
--- old/yast2-kdump-3.1.20/package/yast2-kdump.spec     2014-12-04 
11:27:55.000000000 +0100
+++ new/yast2-kdump-3.1.21/package/yast2-kdump.spec     2015-02-06 
14:46:01.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-kdump
-Version:        3.1.20
+Version:        3.1.21
 Release:        0
 Summary:        Configuration of kdump
 License:        GPL-2.0
@@ -26,12 +26,13 @@
 Source0:        %{name}-%{version}.tar.bz2
 BuildRequires:  perl-XML-Writer
 BuildRequires:  rubygem(rspec)
+BuildRequires:  rubygem(yast-rake)
 BuildRequires:  update-desktop-files
 BuildRequires:  yast2
 # Wizard::SetDesktopTitleAndIcon
 BuildRequires:  yast2 >= 2.21.22
 BuildRequires:  yast2-bootloader
-BuildRequires:  yast2-devtools >= 3.1.10
+BuildRequires:  yast2-buildtools >= 3.1.10
 BuildRequires:  yast2-packager >= 2.17.24
 BuildRequires:  yast2-storage
 BuildRequires:  yast2-testsuite
@@ -50,20 +51,16 @@
 %description
 Configuration of kdump
 
-%package devel-doc
-Summary:        Development documentation for yast2-kdump
-
-%description devel-doc
-Development documentation for yast2-kdump including generated code 
documentation
-
 %prep
 %setup -q
 
+%check
+rake test:unit
+
 %build
-%yast_build
 
 %install
-%yast_install
+rake install DESTDIR="%{buildroot}"
 
 
 %files
@@ -76,10 +73,4 @@
 %{yast_desktopdir}/kdump.desktop
 %{yast_schemadir}/autoyast/rnc/kdump.rnc
 %{yast_scrconfdir}/*.scr
-%doc %{yast_docdir}/COPYING
-
-%files devel-doc
-%defattr(-,root,root)
 %doc %{yast_docdir}
-%exclude %doc %{yast_docdir}/COPYING
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/src/Makefile.am 
new/yast2-kdump-3.1.21/src/Makefile.am
--- old/yast2-kdump-3.1.20/src/Makefile.am      2014-12-04 11:27:55.000000000 
+0100
+++ new/yast2-kdump-3.1.21/src/Makefile.am      1970-01-01 01:00:00.000000000 
+0100
@@ -1,32 +0,0 @@
-# Sources for kdump
-
-module_DATA = \
-  modules/Kdump.rb
-
-client_DATA = \
-  clients/kdump_auto.rb \
-  clients/kdump_finish.rb \
-  clients/kdump_proposal.rb \
-  clients/kdump.rb
-
-yncludedir = @yncludedir@/kdump
-ynclude_DATA = \
-  include/kdump/wizards.rb \
-  include/kdump/uifunctions.rb \
-  include/kdump/dialogs.rb \
-  include/kdump/complex.rb \
-  include/kdump/helps.rb
-
-scrconf_DATA = \
-  scrconf/cfg_kdump.scr
-
-schemafilesdir = $(schemadir)/autoyast/rnc
-schemafiles_DATA = \
-  autoyast-rnc/kdump.rnc
-
-desktop_DATA = \
-  desktop/kdump.desktop
-
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) 
$(schemafiles_DATA) $(desktop_DATA)
-
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/test/Makefile.am 
new/yast2-kdump-3.1.21/test/Makefile.am
--- old/yast2-kdump-3.1.20/test/Makefile.am     2014-12-04 11:27:55.000000000 
+0100
+++ new/yast2-kdump-3.1.21/test/Makefile.am     1970-01-01 01:00:00.000000000 
+0100
@@ -1,8 +0,0 @@
-TESTS = \
-  fadump_test.rb \
-  kdump_test.rb
-
-TEST_EXTENSIONS = .rb
-RB_LOG_COMPILER = rspec
-VERBOSE = 1
-EXTRA_DIST = $(TESTS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-kdump-3.1.20/test/fadump_test.rb 
new/yast2-kdump-3.1.21/test/fadump_test.rb
--- old/yast2-kdump-3.1.20/test/fadump_test.rb  2014-12-04 11:27:55.000000000 
+0100
+++ new/yast2-kdump-3.1.21/test/fadump_test.rb  2015-02-06 14:46:01.000000000 
+0100
@@ -10,33 +10,33 @@
 describe "#fadump_supported?" do
   it "returns that fadump is supported on ppc64 architecture" do
     Yast::Arch.stub(:ppc64).and_return(true)
-    expect(Yast::Kdump.fadump_supported?).to be_true
+    expect(Yast::Kdump.fadump_supported?).to eq(true)
   end
 
   it "return that fadump is not supported on other architectures" do
     Yast::Arch.stub(:ppc64).and_return(false)
-    expect(Yast::Kdump.fadump_supported?).to be_false
+    expect(Yast::Kdump.fadump_supported?).to eq(false)
   end
 end
 
 describe "#use_fadump" do
   it "returns true if fadump is supported on this architecture" do
     Yast::Kdump.stub(:fadump_supported?).and_return(true)
-    expect(Yast::Kdump.use_fadump(true)).to be_true
-    expect(Yast::Kdump.use_fadump(false)).to be_true
+    expect(Yast::Kdump.use_fadump(true)).to eq(true)
+    expect(Yast::Kdump.use_fadump(false)).to eq(true)
   end
 
   it "returns false if it's not supported on this architecture" do
     Yast::Kdump.stub(:fadump_supported?).and_return(false)
-    expect(Yast::Kdump.use_fadump(true)).to be_false
+    expect(Yast::Kdump.use_fadump(true)).to eq(false)
   end
 
   it "returns true if disabling fadump" do
     Yast::Kdump.stub(:fadump_supported?).and_return(true)
-    expect(Yast::Kdump.use_fadump(false)).to be_true
+    expect(Yast::Kdump.use_fadump(false)).to eq(true)
 
     Yast::Kdump.stub(:fadump_supported?).and_return(false)
-    expect(Yast::Kdump.use_fadump(false)).to be_true
+    expect(Yast::Kdump.use_fadump(false)).to eq(true)
   end
 end
 
@@ -45,10 +45,10 @@
    Yast::Kdump.stub(:fadump_supported?).and_return(true)
 
    Yast::Kdump.use_fadump(true)
-   expect(Yast::Kdump.using_fadump?).to be_true
+   expect(Yast::Kdump.using_fadump?).to eq(true)
 
    Yast::Kdump.use_fadump(false)
-   expect(Yast::Kdump.using_fadump?).to be_false
+   expect(Yast::Kdump.using_fadump?).to eq(false)
  end
 end
 
@@ -56,7 +56,7 @@
   it "returns false if use_fadump not changed" do
     Yast::Kdump.ReadKdumpSettings
 
-    expect(Yast::Kdump.using_fadump_changed?).to be_false
+    expect(Yast::Kdump.using_fadump_changed?).to eq(false)
   end
 
   it "returns true if use_fadump changed" do
@@ -66,6 +66,6 @@
     original_value = Yast::Kdump.using_fadump?
     Yast::Kdump.use_fadump(! original_value)
 
-    expect(Yast::Kdump.using_fadump_changed?).to be_true
+    expect(Yast::Kdump.using_fadump_changed?).to eq(true)
   end
 end

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to