Hello community,

here is the log from the commit of package rpmorphan for openSUSE:Factory 
checked in at 2013-08-19 10:50:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmorphan (Old)
 and      /work/SRC/openSUSE:Factory/.rpmorphan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmorphan"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmorphan/rpmorphan.changes      2013-08-15 
12:07:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rpmorphan.new/rpmorphan.changes 2013-08-19 
10:50:21.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Aug 15 17:06:42 UTC 2013 - [email protected]
+
+- Update to 1.12.3:
+  * fix bug introduced in 1.12.2 in is_set function
+
+-------------------------------------------------------------------

Old:
----
  rpmorphan-1.12-2.tar.gz

New:
----
  rpmorphan-1.12.3.tar.gz

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

Other differences:
------------------
++++++ rpmorphan.spec ++++++
--- /var/tmp/diff_new_pack.ThZaMz/_old  2013-08-19 10:50:21.000000000 +0200
+++ /var/tmp/diff_new_pack.ThZaMz/_new  2013-08-19 10:50:21.000000000 +0200
@@ -17,13 +17,15 @@
 
 
 Name:           rpmorphan
-Version:        1.12.2
+Version:        1.12.3
 Release:        0
 Summary:        List the orphaned RPM packages
 License:        GPL-2.0+
 Group:          System/Packages
 Url:            http://rpmorphan.sourceforge.net/
-Source0:        http://downloads.sourceforge.net/%{name}/%{name}-1.12-2.tar.gz
+# Upstream tarball has version 1.12 so don't use url in Source0 to not 
conflict with the old 1.12 version
+#Source0:        http://downloads.sourceforge.net/%{name}/%{name}-1.12-2.tar.gz
+Source0:        %{name}-%{version}.tar.gz
 Requires:       rpm
 Recommends:     logrotate
 Recommends:     perl-Curses-UI

++++++ rpmorphan-1.12-2.tar.gz -> rpmorphan-1.12.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/Changelog new/rpmorphan-1.12/Changelog
--- old/rpmorphan-1.12/Changelog        2013-08-05 11:36:33.000000000 +0200
+++ new/rpmorphan-1.12/Changelog        2013-08-12 13:43:58.000000000 +0200
@@ -1,3 +1,6 @@
+2013-08-12 Eric Gerbier <[email protected]> 1.12-3
+       * fix bug introduced in 1.12-2 in is_set function
+
 2013-07-28 Eric Gerbier <[email protected]> 1.12-2
        * fix Bug 880603 : undefined used as SCALAR reference
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/Makefile new/rpmorphan-1.12/Makefile
--- old/rpmorphan-1.12/Makefile 2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/Makefile 2013-08-14 11:29:10.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: rpmorphan-1.12-2 | Makefile | Mon Jan 21 12:50:02 2013 +0100 | Eric 
Gerbier  $
+# $Id: rpmorphan-1.12 | Makefile | Mon Jan 21 12:50:02 2013 +0100 | Eric 
Gerbier  $
 # recommanded by debian install guide
 DESTDIR=
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/Readme new/rpmorphan-1.12/Readme
--- old/rpmorphan-1.12/Readme   2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/Readme   2013-08-14 11:29:10.000000000 +0200
@@ -42,4 +42,4 @@
 
 -- 
 Eric Gerbier
-$Id: rpmorphan-1.12-2 | Readme | Tue Jan 29 13:20:11 2013 +0100 | Eric Gerbier 
 $
+$Id: rpmorphan-1.12 | Readme | Tue Jan 29 13:20:11 2013 +0100 | Eric Gerbier  $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/Readme.fr new/rpmorphan-1.12/Readme.fr
--- old/rpmorphan-1.12/Readme.fr        2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/Readme.fr        2013-08-14 11:29:10.000000000 +0200
@@ -37,4 +37,4 @@
 
 -- 
 Eric Gerbier
-$Id: rpmorphan-1.12-2 | Readme.fr | Tue Jan 29 13:20:11 2013 +0100 | Eric 
Gerbier  $
+$Id: rpmorphan-1.12 | Readme.fr | Tue Jan 29 13:20:11 2013 +0100 | Eric 
Gerbier  $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmdep.1 new/rpmorphan-1.12/rpmdep.1
--- old/rpmorphan-1.12/rpmdep.1 2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmdep.1 2013-08-14 11:29:09.000000000 +0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RPMDEP 1"
-.TH RPMDEP 1 "2013-08-05" "perl v5.14.2" "User Contributed Perl Documentation"
+.TH RPMDEP 1 "2013-08-14" "perl v5.14.2" "User Contributed Perl Documentation"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmdep.pl new/rpmorphan-1.12/rpmdep.pl
--- old/rpmorphan-1.12/rpmdep.pl        2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmdep.pl        2013-08-14 11:29:10.000000000 +0200
@@ -4,7 +4,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmdep.pl | Mon Jan 21 14:13:16 2013 +0100 | Eric 
Gerbier  $
+#    $Id: rpmorphan-1.12 | rpmdep.pl | Mon Jan 21 14:13:16 2013 +0100 | Eric 
Gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmduplicates.1 
new/rpmorphan-1.12/rpmduplicates.1
--- old/rpmorphan-1.12/rpmduplicates.1  2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmduplicates.1  2013-08-14 11:29:09.000000000 +0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RPMDUPLICATES 1"
-.TH RPMDUPLICATES 1 "2013-08-05" "perl v5.14.2" "User Contributed Perl 
Documentation"
+.TH RPMDUPLICATES 1 "2013-08-14" "perl v5.14.2" "User Contributed Perl 
Documentation"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmduplicates.pl 
new/rpmorphan-1.12/rpmduplicates.pl
--- old/rpmorphan-1.12/rpmduplicates.pl 2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmduplicates.pl 2013-08-14 11:29:10.000000000 +0200
@@ -3,7 +3,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmduplicates.pl | Mon Jan 21 13:46:18 2013 +0100 
| Eric Gerbier  $
+#    $Id: rpmorphan-1.12 | rpmduplicates.pl | Mon Jan 21 13:46:18 2013 +0100 | 
Eric Gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmextra.1 
new/rpmorphan-1.12/rpmextra.1
--- old/rpmorphan-1.12/rpmextra.1       2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmextra.1       2013-08-14 11:29:10.000000000 +0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RPMEXTRA 1"
-.TH RPMEXTRA 1 "2013-08-05" "perl v5.14.2" "User Contributed Perl 
Documentation"
+.TH RPMEXTRA 1 "2013-08-14" "perl v5.14.2" "User Contributed Perl 
Documentation"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmextra.pl 
new/rpmorphan-1.12/rpmextra.pl
--- old/rpmorphan-1.12/rpmextra.pl      2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmextra.pl      2013-08-14 11:29:10.000000000 +0200
@@ -4,7 +4,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmextra.pl | Mon Jan 21 14:21:55 2013 +0100 | 
Eric Gerbier  $
+#    $Id: rpmorphan-1.12 | rpmextra.pl | Mon Jan 21 14:21:55 2013 +0100 | Eric 
Gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphan-curses-lib.pl 
new/rpmorphan-1.12/rpmorphan-curses-lib.pl
--- old/rpmorphan-1.12/rpmorphan-curses-lib.pl  2013-08-05 13:24:23.000000000 
+0200
+++ new/rpmorphan-1.12/rpmorphan-curses-lib.pl  2013-08-14 11:29:10.000000000 
+0200
@@ -4,7 +4,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmorphan-curses-lib.pl | Wed Jul 6 13:59:20 2011 
+0000 | gerbier  $
+#    $Id: rpmorphan-1.12 | rpmorphan-curses-lib.pl | Wed Jul 6 13:59:20 2011 
+0000 | gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphan-lib.pl 
new/rpmorphan-1.12/rpmorphan-lib.pl
--- old/rpmorphan-1.12/rpmorphan-lib.pl 2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmorphan-lib.pl 2013-08-14 11:29:10.000000000 +0200
@@ -4,7 +4,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmorphan-lib.pl | Mon Aug 5 11:10:29 2013 +0200 
| Eric Gerbier  $
+#    $Id: rpmorphan-1.12 | rpmorphan-lib.pl | Mon Aug 12 13:41:58 2013 +0200 | 
Eric Gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -22,9 +22,9 @@
 
 use English '-no_match_vars';
 
-use File::stat;      # get_last_access
+use File::stat;    # get_last_access
 
-## no critic (RequireCheckingReturnValueOfEval)
+# no critic (RequireCheckingReturnValueOfEval)
 
 # the code should use no "print" calls
 # but use instead debug, warning, info calls
@@ -87,9 +87,16 @@
        my $rh_opt = shift @_;    # hash of program arguments
        my $key    = shift @_;    # name of desired option
 
-       #debug("is_set $key");
-       my $r_value = $rh_opt->{$key};
-       return $r_value and ${$r_value};
+       if ( exists $rh_opt->{$key} ) {
+               my $r_value = $rh_opt->{$key};
+
+               #debug("is_set $key ${$r_value}");
+               return ( defined ${$r_value} ) ? ${$r_value} : 0;
+       }
+       else {
+               warning("is_set called with unknown key $key");
+               return 0;
+       }
 }
 #########################################################
 sub is_verbose($) {
@@ -169,7 +176,7 @@
        my $time = shift @_;    #
 
        # convert from seconds to days
-       ## no critic(ProhibitParensWithBuiltins,ProhibitMagicNumbers)
+       # no critic(ProhibitParensWithBuiltins,ProhibitMagicNumbers)
        return int( ( $now - $time ) / 86_400 );
 }
 #########################################################
@@ -420,6 +427,8 @@
 
        my $flag_suggests = is_set( $rh_opt, 'suggests' );
 
+       #debug("flag_suggests = $flag_suggests");
+
        debug('1 : analysis');
        my %objects;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphan-tk-lib.pl 
new/rpmorphan-1.12/rpmorphan-tk-lib.pl
--- old/rpmorphan-1.12/rpmorphan-tk-lib.pl      2013-08-05 13:24:23.000000000 
+0200
+++ new/rpmorphan-1.12/rpmorphan-tk-lib.pl      2013-08-14 11:29:10.000000000 
+0200
@@ -4,7 +4,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmorphan-tk-lib.pl | Wed Jul 6 14:15:24 2011 
+0000 | gerbier  $
+#    $Id: rpmorphan-1.12 | rpmorphan-tk-lib.pl | Wed Jul 6 14:15:24 2011 +0000 
| gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphan.1 
new/rpmorphan-1.12/rpmorphan.1
--- old/rpmorphan-1.12/rpmorphan.1      2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmorphan.1      2013-08-14 11:29:09.000000000 +0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RPMORPHAN 1"
-.TH RPMORPHAN 1 "2013-08-05" "perl v5.14.2" "User Contributed Perl 
Documentation"
+.TH RPMORPHAN 1 "2013-08-14" "perl v5.14.2" "User Contributed Perl 
Documentation"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphan.lsm 
new/rpmorphan-1.12/rpmorphan.lsm
--- old/rpmorphan-1.12/rpmorphan.lsm    2013-08-05 13:24:04.000000000 +0200
+++ new/rpmorphan-1.12/rpmorphan.lsm    2013-08-12 13:50:40.000000000 +0200
@@ -1,7 +1,7 @@
 Begin4
 Title:          rpmorphan
 Version:        1.12
-Entered-date:   2013-08-05
+Entered-date:   2013-08-11
 Description:    rpmorphan  finds  "orphaned"  packages  on  your system. It 
determines
                which packages have no other packages depending on their 
installation,
                and shows you a list of these packages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphan.pl 
new/rpmorphan-1.12/rpmorphan.pl
--- old/rpmorphan-1.12/rpmorphan.pl     2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmorphan.pl     2013-08-14 11:29:10.000000000 +0200
@@ -4,7 +4,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmorphan.pl | Fri Feb 1 13:26:15 2013 +0100 | 
Eric Gerbier  $
+#    $Id: rpmorphan-1.12 | rpmorphan.pl | Fri Feb 1 13:26:15 2013 +0100 | Eric 
Gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphan.spec 
new/rpmorphan-1.12/rpmorphan.spec
--- old/rpmorphan-1.12/rpmorphan.spec   2013-08-05 11:36:33.000000000 +0200
+++ new/rpmorphan-1.12/rpmorphan.spec   2013-08-12 13:49:04.000000000 +0200
@@ -7,7 +7,7 @@
 Summary(fr):   Liste les packages rpm orphelins (sans dependances)
 Name:          rpmorphan
 Version:       %{VERSION}
-Release:       2
+Release:       3
 Group:         Applications/System
 #Group(fr): (translated group goes here)
 License:       GPLv2+
@@ -168,6 +168,9 @@
 %doc %{_mandir}/man1/rpmextra.1*
 
 %changelog
+* Sun Aug 11 2013 Eric Gerbier <[email protected]> 1.12-3
+- fix bug introduced in 1.12-2 in is_set function
+
 * Sun Jul 28 2013 Eric Gerbier <[email protected]> 1.12-2
 - fix Bug 880603 : undefined used as SCALAR reference
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmorphanrc.sample 
new/rpmorphan-1.12/rpmorphanrc.sample
--- old/rpmorphan-1.12/rpmorphanrc.sample       2013-08-05 13:24:23.000000000 
+0200
+++ new/rpmorphan-1.12/rpmorphanrc.sample       2013-08-14 11:29:10.000000000 
+0200
@@ -1,5 +1,5 @@
 # configuration file exemple for rpmorphan
-# $Id: rpmorphan-1.12-2 | rpmorphanrc.sample | Tue Jul 31 17:13:56 2012 +0200 
| Eric Gerbier  $
+# $Id: rpmorphan-1.12 | rpmorphanrc.sample | Tue Jul 31 17:13:56 2012 +0200 | 
Eric Gerbier  $
 # it can be used as 
 # - host (general) configuration file as /etc/rpmorphanrc
 # - home (user) configuration file as ~/.rpmorphanrc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmusage.1 
new/rpmorphan-1.12/rpmusage.1
--- old/rpmorphan-1.12/rpmusage.1       2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmusage.1       2013-08-14 11:29:09.000000000 +0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RPMUSAGE 1"
-.TH RPMUSAGE 1 "2013-08-05" "perl v5.14.2" "User Contributed Perl 
Documentation"
+.TH RPMUSAGE 1 "2013-08-14" "perl v5.14.2" "User Contributed Perl 
Documentation"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmorphan-1.12/rpmusage.pl 
new/rpmorphan-1.12/rpmusage.pl
--- old/rpmorphan-1.12/rpmusage.pl      2013-08-05 13:24:23.000000000 +0200
+++ new/rpmorphan-1.12/rpmusage.pl      2013-08-14 11:29:10.000000000 +0200
@@ -4,7 +4,7 @@
 #
 #    Copyright (C) 2006 by Eric Gerbier
 #    Bug reports to: [email protected]
-#    $Id: rpmorphan-1.12-2 | rpmusage.pl | Mon Jan 21 14:10:42 2013 +0100 | 
Eric Gerbier  $
+#    $Id: rpmorphan-1.12 | rpmusage.pl | Mon Jan 21 14:10:42 2013 +0100 | Eric 
Gerbier  $
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by

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

Reply via email to