Blame SOURCES/libvirt-cim-0.6.3-5d2626f6.patch

5cef56
From 5d2626f6e743e76b18272ec5e6bf4ee7e46cfee4 Mon Sep 17 00:00:00 2001
5cef56
From: John Ferlan <jferlan@redhat.com>
5cef56
Date: Thu, 8 Aug 2013 15:50:29 -0400
5cef56
Subject: [PATCH 07/48] spec: Fix capitalization for version check
5cef56
5cef56
Following seen on rpm -ivh install:
5cef56
5cef56
Preparing...                          ################################# [100%]
5cef56
Updating / installing...
5cef56
   1:libvirt-cim-0.6.3-1.fc19         ################################# [100%]
5cef56
   /var/tmp/rpm-tmp.uY5oGu: line 5: /etc/init.d/tog-pegasus: No such file or directory
5cef56
5cef56
Turns out commit id '8480cc79' inadvertently capitalized Fedora when replacing
5cef56
a check that got removed by commit id '07adabc2'.
5cef56
5cef56
"Fedora" shouldn't have been capitalized in the check to use
5cef56
systemctl instead of /etc/init.d/tog-pegasus
5cef56
5cef56
Signed-off-by: John Ferlan <jferlan@redhat.com>
5cef56
---
5cef56
 libvirt-cim.spec.in | 2 +-
5cef56
 1 file changed, 1 insertion(+), 1 deletion(-)
5cef56
5cef56
diff --git a/libvirt-cim.spec.in b/libvirt-cim.spec.in
5cef56
index 98f2a75..459650c 100644
5cef56
--- a/libvirt-cim.spec.in
5cef56
+++ b/libvirt-cim.spec.in
5cef56
@@ -96,7 +96,7 @@ rm -fr $RPM_BUILD_ROOT
5cef56
 
5cef56
 %{_datadir}/%{name}/install_base_schema.sh %{_datadir}/%{name}
5cef56
 
5cef56
-%if 0%{?Fedora} >= 17 || 0%{?rhel} >= 7
5cef56
+%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
5cef56
     if [ "`systemctl is-active tog-pegasus.service`" = "active" ]
5cef56
     then
5cef56
         systemctl restart tog-pegasus.service
5cef56
-- 
5cef56
1.8.5.3
5cef56