Hello community,

here is the log from the commit of package inst-source-utils for 
openSUSE:Factory checked in at 2012-02-29 14:07:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/inst-source-utils (Old)
 and      /work/SRC/openSUSE:Factory/.inst-source-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "inst-source-utils", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/inst-source-utils/inst-source-utils.changes      
2012-02-02 17:57:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.inst-source-utils.new/inst-source-utils.changes 
2012-02-29 14:07:53.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Feb 29 10:55:46 CET 2012 - [email protected]
+
+- mk_changelog: calculate time (two years ago) differently to
+  avoid error on leap days. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ inst-source-utils.spec ++++++
--- /var/tmp/diff_new_pack.leJfed/_old  2012-02-29 14:07:54.000000000 +0100
+++ /var/tmp/diff_new_pack.leJfed/_new  2012-02-29 14:07:54.000000000 +0100
@@ -24,7 +24,8 @@
 Release:        0
 Url:            http://en.opensuse.org/Inst-source-utils
 BuildArch:      noarch
-Requires:       gpg2 recode
+Requires:       gpg2
+Requires:       recode
 Obsoletes:      autoyast2-utils <= 2.14.10
 Provides:       autoyast2-utils = 2.14.10
 Recommends:     create-repo-utils

++++++ inst-source-utils.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inst-source-utils/usr/bin/mk_changelog 
new/inst-source-utils/usr/bin/mk_changelog
--- old/inst-source-utils/usr/bin/mk_changelog  2011-10-16 21:55:30.000000000 
+0200
+++ new/inst-source-utils/usr/bin/mk_changelog  2012-02-29 10:55:32.000000000 
+0100
@@ -35,7 +35,8 @@
 use RPMQ;
 
 # current date minus two years
-my $min_date = timelocal(0,0,0,localtime->mday,localtime->mon , 
localtime->year+1898 );
+#my $min_date = timelocal(0,0,0,localtime->mday,localtime->mon , 
localtime->year+1898 );
+my $min_date = localtime(time - 2*365*24*3600);
 my %month_to_num = 
(Jan=>0,Feb=>1,Mar=>2,Apr=>3,May=>4,Jun=>5,Jul=>6,Aug=>7,Sep=>8,Oct=>9,Nov=>10,Dec=>11);
 my $delimiter = 
"------------------------------------------------------------------";
 my $actual = 0;

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

Reply via email to