rpms/qpid-cpp/F-13 qmf.rb.patch,NONE,1.1 qpid-cpp.spec,1.9,1.10
Nuno Santos
nsantos at fedoraproject.org
Mon May 3 21:23:54 UTC 2010
Author: nsantos
Update of /cvs/pkgs/rpms/qpid-cpp/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14538
Modified Files:
qpid-cpp.spec
Added Files:
qmf.rb.patch
Log Message:
Patch for qmf.rb
qmf.rb.patch:
qmf.rb | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
--- NEW FILE qmf.rb.patch ---
--- cpp/bindings/qmf/ruby/qmf.rb 2010/04/23 20:27:27 937506
+++ cpp/bindings/qmf/ruby/qmf.rb 2010/05/03 20:43:15 940611
@@ -189,15 +189,29 @@
raise "Invalid attribute '#{key}'" unless good
end
+ def get_attr(key)
+ _v = @impl.getAttr(key)
+ if _v.isString()
+ return _v.asString()
+ elsif _v.isUint()
+ return _v.asUint()
+ elsif _v.isBool()
+ return _v.asBool()
+ else
+ raise Exception("Argument error: value for attribute '#{key}' has unsupported type: #{_v.getType()}")
+ end
+ end
+
+
def method_missing(name_in, *args)
name = name_in.to_s
if name[name.length - 1] == 61
attr = name[0..name.length - 2]
set_attr(attr, args[0])
return
+ else
+ return get_attr(name)
end
-
- super.method_missing(name_in, args)
end
end
Index: qpid-cpp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qpid-cpp/F-13/qpid-cpp.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- qpid-cpp.spec 6 Apr 2010 21:50:04 -0000 1.9
+++ qpid-cpp.spec 3 May 2010 21:23:54 -0000 1.10
@@ -26,7 +26,7 @@
%global qpid_svnrev 895736
%global store_svnrev 3795
# Change this release number for each build of the same qpid_svnrev, otherwise set back to 1.
-%global release_num 3
+%global release_num 4
# NOTE: no more than one of these flags should be set at the same time!
# RHEL-6 builds (the default) should have all these flags set to 0.
@@ -84,6 +84,7 @@ Patch1: xqilla.patch
Patch2: boost_system.patch
Patch3: db4.patch
Patch4: qpidd.patch
+Patch5: qmf.rb.patch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %{rhel_5}
@@ -691,6 +692,7 @@ exit 1
%patch1
%patch2
%patch4
+%patch5
pushd ../store-%{qpid_release}.%{store_svnrev}
%patch3
popd
@@ -849,6 +851,9 @@ rm -rf %{buildroot}
/sbin/ldconfig
%changelog
+* Mon May 3 2010 Nuno Santos <nsantos at redhat.com> - 0.6.895736-4
+- Patch for qmf.rb
+
* Tue Apr 6 2010 Nuno Santos <nsantos at redhat.com> - 0.6.895736-3
- BZ529448 - qpidd should not require selinux-policy-minimum
More information about the scm-commits
mailing list