[libvirt-cim] update to upstream release 0.6.1

Daniel Veillard veillard at fedoraproject.org
Mon Mar 5 09:54:43 UTC 2012


commit 93a0dd99893906312f606f29946a215bc58a6f1e
Author: Daniel Veillard <veillard at redhat.com>
Date:   Mon Mar 5 17:43:59 2012 +0800

    update to upstream release 0.6.1
    
    Also:
    - allow to use tog-pegasus or sblimfscb
    - switch for systemctl for conditional restart of the server
    Daniel

 .gitignore       |    1 +
 libvirt-cim.spec |   32 +++++++++++++++++++++++---------
 sources          |    2 +-
 3 files changed, 25 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5b6fd28..56ff232 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ libvirt-cim-0.5.7.tar.gz
 libvirt-cim-0.5.8.tar.gz
 /libvirt-cim-0.5.13.tar.gz
 /libvirt-cim-0.5.14.tar.gz
+/libvirt-cim-0.6.1.tar.gz
diff --git a/libvirt-cim.spec b/libvirt-cim.spec
index d380846..033233f 100644
--- a/libvirt-cim.spec
+++ b/libvirt-cim.spec
@@ -2,31 +2,32 @@
 
 Summary: A CIM provider for libvirt
 Name: libvirt-cim
-Version: 0.5.14
-Release: 2%{?dist}%{?extra_release}
+Version: 0.6.1
+Release: 1%{?dist}%{?extra_release}
 License: LGPLv2+
 Group: Development/Libraries
 Source: libvirt-cim-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 URL: http://libvirt.org/CIM/
 Requires: libxml2 >= 2.6.0
-Requires: libvirt >= 0.6.3
+Requires: libvirt >= 0.9.0
 Requires: unzip
-Requires: tog-pegasus
+# either tog-pegasus or sblim-sfcb should provide cim-server
+Requires: cim-server
 BuildRequires: libcmpiutil >= 0.5.4
 BuildRequires: tog-pegasus-devel
-BuildRequires: libvirt-devel >= 0.6.3
+BuildRequires: libvirt-devel >= 0.9.0
 
 # In RHEL5 uuid-devel is provided by e2fsprogs
 %if 0%{?el5}
 BuildRequires: e2fsprogs-devel
 %else
 BuildRequires: libuuid-devel
+BuildRequires: libconfig-devel
 %endif
 
-BuildRequires: libxml2-devel >= 2.6.0
-BuildRequires: libcmpiutil-devel >= 0.5.4
-BuildRequires: libconfig-devel
+BuildRequires: libxml2-devel
+BuildRequires: libcmpiutil-devel
 BuildConflicts: sblim-cmpi-devel
 
 %description
@@ -85,7 +86,15 @@ rm -fr $RPM_BUILD_ROOT
 
 %{_datadir}/%{name}/install_base_schema.sh %{_datadir}/%{name}
 
-/etc/init.d/tog-pegasus condrestart
+if [ "`systemctl is-active tog-pegasus.service`" = "active" ]
+then
+    systemctl restart tog-pegasus.service
+fi
+
+if [ "`systemctl is-active sblim-sfcb.service`" = "active" ]
+then
+    systemctl restart sblim-sfcb.service
+fi
 
 %{_datadir}/%{name}/provider-register.sh -t pegasus \
 	-n root/virt \
@@ -139,6 +148,11 @@ rm -fr $RPM_BUILD_ROOT
 %config(noreplace) %{_sysconfdir}/libvirt-cim.conf
 
 %changelog
+* Mon Mar  5 2012 Daniel Veillard <veillard at redhat.com> - 0.6.1-1
+- update to upstream release 0.6.1
+- allow to use tog-pegasus or sblimfscb
+- switch for systemctl for conditional restart of the server
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.14-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 870f32d..51939d4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-54873f6ca5781ae24481abd42615218d  libvirt-cim-0.5.14.tar.gz
+2c53931e042db76da7e8954ce31a9a5e  libvirt-cim-0.6.1.tar.gz


More information about the scm-commits mailing list