Hello community,

here is the log from the commit of package yast2-packager for openSUSE:Factory 
checked in at 2015-06-18 06:36:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-packager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-packager"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2015-06-06 09:50:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes       
2015-06-18 06:36:07.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 11 14:58:58 UTC 2015 - [email protected]
+
+- proper fix for a float remaining time (bnc#882240)
+- 3.1.71
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-3.1.70.tar.bz2

New:
----
  yast2-packager-3.1.71.tar.bz2

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

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.92yg7C/_old  2015-06-18 06:36:08.000000000 +0200
+++ /var/tmp/diff_new_pack.92yg7C/_new  2015-06-18 06:36:08.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.70
+Version:        3.1.71
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-packager-3.1.70.tar.bz2 -> yast2-packager-3.1.71.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.70/package/yast2-packager.changes 
new/yast2-packager-3.1.71/package/yast2-packager.changes
--- old/yast2-packager-3.1.70/package/yast2-packager.changes    2015-06-05 
15:23:08.000000000 +0200
+++ new/yast2-packager-3.1.71/package/yast2-packager.changes    2015-06-11 
17:48:07.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Jun 11 14:58:58 UTC 2015 - [email protected]
+
+- proper fix for a float remaining time (bnc#882240)
+- 3.1.71
+
+-------------------------------------------------------------------
 Thu Jun  4 14:21:22 UTC 2015 - [email protected]
 
 - use the full URL (incl. the password) when editing a repository
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.70/package/yast2-packager.spec 
new/yast2-packager-3.1.71/package/yast2-packager.spec
--- old/yast2-packager-3.1.70/package/yast2-packager.spec       2015-06-05 
15:23:08.000000000 +0200
+++ new/yast2-packager-3.1.71/package/yast2-packager.spec       2015-06-11 
17:48:07.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.70
+Version:        3.1.71
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-packager-3.1.70/src/modules/PackageSlideShow.rb 
new/yast2-packager-3.1.71/src/modules/PackageSlideShow.rb
--- old/yast2-packager-3.1.70/src/modules/PackageSlideShow.rb   2015-06-05 
15:23:08.000000000 +0200
+++ new/yast2-packager-3.1.71/src/modules/PackageSlideShow.rb   2015-06-11 
17:48:07.000000000 +0200
@@ -681,7 +681,7 @@
           remaining_time = remaining_size
 
           if remaining_size > 0
-            remaining_time = remaining_size.to_f / @bytes_per_second
+            remaining_time = (remaining_size.to_f / @bytes_per_second).round
 
             if remaining_time < MIN_TIME_PER_CD
               # It takes at least this long for the CD drive to spin up and
@@ -695,12 +695,6 @@
             end
           end
 
-          if remaining_time.is_a?(Float)
-            log.warn "Float time appeared: #{remaining_time}"
-            remaining_time = remaining_time.round
-            log.warn "Converted to integer: #{remaining_time}"
-          end
-
           remaining_times_list << remaining_time
         end
 


Reply via email to