From e0bf0c3149723b01f28e19cf60c19a816e69a07d Mon Sep 17 00:00:00 2001
From: petervo <petervo@redhat.com>
Date: Fri, 24 Apr 2015 07:14:18 -0700
Subject: [PATCH] Update to 0.54 release

---
 cockpit.spec | 12 +++++++++++-
 sources      |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/cockpit.spec b/cockpit.spec
index 758f357..40a35aa 100644
--- a/cockpit.spec
+++ b/cockpit.spec
@@ -22,11 +22,13 @@
 %define rhel 0
 %endif
 
+%define _hardened_build 1
+
 Name:           cockpit
 %if %{defined gitcommit}
 Version:        %{gitcommit}
 %else
-Version:        0.53
+Version:        0.54
 %endif
 Release:        1%{?dist}
 Summary:        A user interface for Linux servers
@@ -287,10 +289,15 @@ cat subscriptions.list docker.list >> shell.list
 
 %files pcp
 %{_libexecdir}/cockpit-pcp
+/var/lib/pcp/config/pmlogconf/tools/cockpit
 
 %post pcp
 # HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185749
 ( cd /var/lib/pcp/pmns && ./Rebuild -du )
+# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185764
+# We can't use "systemctl reload-or-try-restart" since systemctl might
+# be out of sync with reality.
+/usr/share/pcp/lib/pmlogger reload
 
 %files shell -f shell.list
 
@@ -425,6 +432,9 @@ fi
 %endif
 
 %changelog
+* Fri Apr 24 2015 Peter <petervo@redhat.com> - 0.54-1
+- Update to 0.54 release
+
 * Tue Apr 21 2015 Peter <petervo@redhat.com> - 0.53-1
 - Update to 0.53 release
 
diff --git a/sources b/sources
index 6156e18..f85847e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-a96bba90a70643d8ebeb5d85012103d7  cockpit-0.53.tar.bz2
+a376d02dc52331c091ae85b46f016405  cockpit-0.54.tar.bz2
 6299c6f81e83b8e5c9d45008e2e4da63  cockpit.pam