2 commits - rel-eng/packages utils/delete-old-systems-interactive utils/spacewalk-utils.spec

Michael Mraka mmraka at fedoraproject.org
Thu Jun 14 12:20:40 UTC 2012


 rel-eng/packages/spacewalk-utils     |    2 +-
 utils/delete-old-systems-interactive |    4 ++--
 utils/spacewalk-utils.spec           |    5 ++++-
 3 files changed, 7 insertions(+), 4 deletions(-)

New commits:
commit b0b5456f59f1f1322fddf2b93cbe0cbb879c7155
Author: Michael Mraka <michael.mraka at redhat.com>
Date:   Thu Jun 14 14:20:25 2012 +0200

    Automatic commit of package [spacewalk-utils] release [1.8.20-1].

diff --git a/rel-eng/packages/spacewalk-utils b/rel-eng/packages/spacewalk-utils
index b01bb3d..8ea3623 100644
--- a/rel-eng/packages/spacewalk-utils
+++ b/rel-eng/packages/spacewalk-utils
@@ -1 +1 @@
-1.8.19-1 utils/
+1.8.20-1 utils/
diff --git a/utils/spacewalk-utils.spec b/utils/spacewalk-utils.spec
index bd90d82..215ec05 100644
--- a/utils/spacewalk-utils.spec
+++ b/utils/spacewalk-utils.spec
@@ -1,7 +1,7 @@
 %define rhnroot %{_prefix}/share/rhn
 
 Name:		spacewalk-utils
-Version:	1.8.19
+Version:	1.8.20
 Release:	1%{?dist}
 Summary:	Utilities that may be run against a Spacewalk server.
 
@@ -86,6 +86,9 @@ spacewalk-pylint $RPM_BUILD_ROOT%{rhnroot}
 
 
 %changelog
+* Thu Jun 14 2012 Michael Mraka <michael.mraka at redhat.com> 1.8.20-1
+- system.list_user_systems() now returns localtime
+
 * Thu Jun 07 2012 Stephen Herr <sherr at redhat.com> 1.8.19-1
 - 829485 - fixed type
 


commit babadbfbc3036036a389788f311eaf38d8baf9ee
Author: Michael Mraka <michael.mraka at redhat.com>
Date:   Thu Jun 14 11:44:59 2012 +0200

    system.list_user_systems() now returns localtime

diff --git a/utils/delete-old-systems-interactive b/utils/delete-old-systems-interactive
index 83dafc4..f242ee2 100755
--- a/utils/delete-old-systems-interactive
+++ b/utils/delete-old-systems-interactive
@@ -47,10 +47,10 @@ else {
 }
 
 my $not_before = time - $idle_time;
-my ($sec, $min, $h, $d, $m, $y) = gmtime($not_before);
+my ($sec, $min, $h, $d, $m, $y) = localtime($not_before);
 my $cutoff = sprintf '%04d%02d%02dT%02d:%02d:%02d',
 				$y + 1900,$m + 1, $d, $h, $min, $sec;
-print "Lookup on [$host] systems with last checkin before [$cutoff] GMT\n";
+print "Lookup on [$host] systems with last checkin before [$cutoff]\n";
 
 my $client = new Frontier::Client(url => "http://$host/rpc/api", debug=>0);
 my $session = $client->call('auth.login', $username, $passwd)




More information about the spacewalk-commits mailing list