monitoring/NPalert/ContactGroup.pm | 2 +-
monitoring/NPalert/FileQueue.pm | 4 ++--
monitoring/NPalert/NPalert.spec | 6 +++++-
rel-eng/packages/NPalert | 2 +-
4 files changed, 9 insertions(+), 5 deletions(-)
New commits:
commit 7e914b7e31c4c8466e7fcabd768d7fba6cae4905
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Oct 30 14:04:15 2009 +0100
Automatic commit of package [NPalert] release [1.126.11-1].
diff --git a/monitoring/NPalert/NPalert.spec b/monitoring/NPalert/NPalert.spec
index 87c53d9..60ccbd3 100644
--- a/monitoring/NPalert/NPalert.spec
+++ b/monitoring/NPalert/NPalert.spec
@@ -9,7 +9,7 @@ Name: NPalert
Summary: NOCpulse notification system
URL:
https://fedorahosted.org/spacewalk
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 1.126.10
+Version: 1.126.11
Release: 1%{?dist}
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
@@ -129,6 +129,10 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Oct 30 2009 Michael Mraka <michael.mraka(a)redhat.com> 1.126.11-1
+- Fix to use MethodMaker-provided accessor methods for list types.
+- bailout is defined in NOCpulse::NOCpulseini
+
* Thu Aug 20 2009 Miroslav Suchý <msuchy(a)redhat.com> 1.126.10-1
- avoid deadlock when we have problem after acquiring lock
diff --git a/rel-eng/packages/NPalert b/rel-eng/packages/NPalert
index 0e0d527..d512968 100644
--- a/rel-eng/packages/NPalert
+++ b/rel-eng/packages/NPalert
@@ -1 +1 @@
-1.126.10-1 monitoring/NPalert/
+1.126.11-1 monitoring/NPalert/
commit 37a0b62c8124dbb7a57a9e2e0762cd23f1b66d6c
Author: David Nutter <davidn(a)elrond.bioss.sari.ac.uk>
Date: Tue Oct 27 11:59:28 2009 +0000
Fix to use MethodMaker-provided accessor methods for list types.
diff --git a/monitoring/NPalert/ContactGroup.pm b/monitoring/NPalert/ContactGroup.pm
index 73e0213..fe25f26 100644
--- a/monitoring/NPalert/ContactGroup.pm
+++ b/monitoring/NPalert/ContactGroup.pm
@@ -27,7 +27,7 @@ sub new_strategy_for_alert {
sub add_destination {
#####################
my ($self,$destination)=@_;
- push(@{$self->destinations},$destination);
+ $self->push_destinations($destination);
}
##############################
diff --git a/monitoring/NPalert/FileQueue.pm b/monitoring/NPalert/FileQueue.pm
index 4a1f89b..cfd400d 100644
--- a/monitoring/NPalert/FileQueue.pm
+++ b/monitoring/NPalert/FileQueue.pm
@@ -33,10 +33,10 @@ sub _filelist {
$Log->log(9,`ls -alt`,"\n");
my @files=glob("*");
- $Log->dump(9,"\@files are ",@files,"\n(@files)\n");
+ $Log->dump(9,"\@files are ",\@files,"\n(@files)\n");
# Prepend the directory name to the file names found
- @{$self->_files}=map { $self->directory . "/$_" } @files;
+ $self->_files( (map { $self->directory . "/$_" } @files) );
$Log->dump(9,"_files are ",$self->_files,"\n(_files)\n");
chdir $dir;
return $self->_files;