# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1202849741 28800
# Node ID e8db1c1626222a38f02e5c43b9c8c403d3a07154
# Parent 388ec19f6b4a0230002b2ef096a8ed7cdb5783cb
Remove added leading slash to namespace in .spec
This was reported to cause a problem with some versions of Pegasus
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 388ec19f6b4a -r e8db1c162622 libvirt-cim.spec.in
--- a/libvirt-cim.spec.in Tue Feb 12 12:42:55 2008 -0800
+++ b/libvirt-cim.spec.in Tue Feb 12 12:55:41 2008 -0800
@@ -52,7 +52,7 @@ rm -fr $RPM_BUILD_ROOT
%define SCHEMA %{_datadir}/%{name}/*.mof
%{_datadir}/%{name}/provider-register.sh -d -t pegasus \
- -n /@CIM_VIRT_NS@ \
+ -n @CIM_VIRT_NS@ \
-r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true
%post
@@ -63,12 +63,12 @@ rm -fr $RPM_BUILD_ROOT
/etc/init.d/tog-pegasus restart
%{_datadir}/%{name}/provider-register.sh -t pegasus \
- -n /@CIM_VIRT_NS@ \
+ -n @CIM_VIRT_NS@ \
-r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true
%preun
%{_datadir}/%{name}/provider-register.sh -d -t pegasus \
- -n /@CIM_VIRT_NS@ \
+ -n @CIM_VIRT_NS@ \
-r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true
%postun -p /sbin/ldconfig