rpms/libcmpiutil/devel rep_disabled_ind.patch, NONE, 1.1 libcmpiutil.spec, 1.4, 1.5
Kaitlin Rupert
kaitlin at fedoraproject.org
Tue Sep 9 20:18:19 UTC 2008
Author: kaitlin
Update of /cvs/pkgs/rpms/libcmpiutil/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15394
Modified Files:
libcmpiutil.spec
Added Files:
rep_disabled_ind.patch
Log Message:
Update libcmpiutil.spec to include patch for revision 0.4-3. Also add rep_disable_ind.patch.
rep_disabled_ind.patch:
--- NEW FILE rep_disabled_ind.patch ---
# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1214936716 25200
# Node ID fa42fd637a89653873eb0039e8fadf834228f4bd
# Parent 943ae9ae775336ee6cf5a8116eaae069d0bfe5fc
[CU] Report disabled indications
Make sure we always return a valid status object so that we can actually
tell from the caller if the indication was delivered or not.
Signed-off-by: Dan Smith <danms at us.ibm.com>
diff -r 943ae9ae7753 -r fa42fd637a89 std_indication.c
--- a/std_indication.c Tue May 20 10:30:32 2008 -0700
+++ b/std_indication.c Tue Jul 01 11:25:16 2008 -0700
@@ -167,6 +167,7 @@
cu_statusf(broker, &s,
CMPI_RC_ERR_FAILED,
"Couldn't get indication name for enable check.");
+ goto out;
}
enabled = is_ind_enabled(args->_ctx, ind_name, &s);
@@ -175,8 +176,16 @@
goto out;
}
+ CU_DEBUG("Indication %s is%s enabled",
+ ind_name,
+ enabled ? "" : " not");
+
if (enabled)
s = CBDeliverIndication(broker, ctx, args->ns, ind);
+ else
+ cu_statusf(broker, &s,
+ CMPI_RC_ERR_METHOD_NOT_AVAILABLE,
+ "Indication not enabled");
out:
return s;
Index: libcmpiutil.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libcmpiutil/devel/libcmpiutil.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libcmpiutil.spec 16 Jun 2008 17:54:27 -0000 1.4
+++ libcmpiutil.spec 9 Sep 2008 20:17:49 -0000 1.5
@@ -3,7 +3,7 @@
Summary: CMPI Utility Library
Name: libcmpiutil
Version: 0.4
-Release: 1%{?dist}%{?extra_release}
+Release: 2%{?dist}%{?extra_release}
License: LGPLv2+
Group: System Environment/Libraries
Source: ftp://libvirt.org/libvirt-cim/libcmpiutil-%{version}.tar.gz
@@ -14,6 +14,7 @@
BuildRequires: bison
BuildRequires: libxml2-devel
BuildConflicts: sblim-cmpi-devel
+Patch0: rep_disabled_ind.patch
%description
Libcmpiutil is a library of utility functions for CMPI providers.
@@ -39,6 +40,7 @@
%prep
%setup -q
chmod -x *.c *.y *.h *.l
+%patch0 -p1
%build
%configure --enable-static=no
@@ -75,6 +77,9 @@
%doc doc/SubmittingPatches
%changelog
+* Fri Aug 29 2008 Kaitlin Rupert <kaitlin at us.ibm.com> - 0.4-2
+- Added add rep_disabled_ind.patch patch to enable disabled indication reporting
+
* Tue May 20 2008 Dan Smith <danms at us.ibm.com> - 0.4-1
- Updated to official 0.4 source release
More information about the fedora-extras-commits
mailing list