[Libvirt-cim] [PATCH 2/2] spec: Fix capitalization for version check

John Ferlan jferlan at redhat.com
Thu Aug 8 22:19:36 UTC 2013


"Fedora" shouldn't have been capitalized in the check to use
systemctl instead of /etc/init.d/tog-pegasus
---
 libvirt-cim.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-cim.spec.in b/libvirt-cim.spec.in
index dbee4dc..d30c198 100644
--- a/libvirt-cim.spec.in
+++ b/libvirt-cim.spec.in
@@ -89,7 +89,7 @@ rm -fr $RPM_BUILD_ROOT
 
 %{_datadir}/%{name}/install_base_schema.sh %{_datadir}/%{name}
 
-%if 0%{?Fedora} >= 17 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
     if [ "`systemctl is-active tog-pegasus.service`" = "active" ]
     then
         systemctl restart tog-pegasus.service
-- 
1.8.3.1




More information about the Libvirt-cim mailing list