From ab80710a49d9d7a691782d81d1b86f037ea83f18 Mon Sep 17 00:00:00 2001 From: hht8 Date: Wed, 15 Jul 2020 14:07:25 +0800 Subject: [PATCH] change undelete rebuild flag file .NeedRebuild --- pcp.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pcp.spec b/pcp.spec index 0841631..8d6ee0a 100644 --- a/pcp.spec +++ b/pcp.spec @@ -9,7 +9,7 @@ Name: pcp Version: 4.1.3 Summary: System-level performance monitoring and performance management -Release: 5 +Release: 6 License: GPLv2+ and LGPLv2.1+ and CC-BY URL: https://pcp.io Source0: https://dl.bintray.com/pcp/source/pcp-4.1.3.tar.gz @@ -1641,7 +1641,6 @@ systemctl stop pmie.service >/dev/null 2>&1 systemctl stop pmproxy.service >/dev/null 2>&1 systemctl stop pmcd.service >/dev/null 2>&1 PCP_PMNS_DIR=/var/lib/pcp/pmns -rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1 fi %post webapi @@ -1755,7 +1754,7 @@ if [ $1 -eq 1 ] && [ -x /usr/bin/systemctl ] ; then /usr/bin/systemctl --no-reload preset pmie.service || : fi systemctl condrestart pmproxy.service >/dev/null 2>&1 -cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild +cd $PCP_PMNS_DIR && ./Rebuild -s cd /sbin/ldconfig %postun @@ -2213,7 +2212,10 @@ fi %config(noreplace) /etc/pcp/pmrep/* %changelog -* Tue Jun Jun 2020 panchenbo - 4.1.3-5 +* Wed Jul 15 2020 huanghaitao - 4.1.3-6 +- change undelete rebuild flag file .NeedRebuild + +* Tue Jun 23 2020 panchenbo - 4.1.3-5 - Type:bugfix - ID: NA - SUG: install