!11 Undelete rebuild flag file .NeedRebuild
Merge pull request !11 from jeff200902/openEuler-20.03-LTS
This commit is contained in:
commit
0a7a367a5d
8
pcp.spec
8
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
|
||||
@ -1639,7 +1639,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
|
||||
@ -1753,7 +1752,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
|
||||
@ -2211,6 +2210,9 @@ fi
|
||||
%config(noreplace) /etc/pcp/pmrep/*
|
||||
|
||||
%changelog
|
||||
* Thu May 28 2020 Jeffery.Gao <gaojianxing@huawei.com> - 4.1.3-6
|
||||
- change undelete rebuild flag file .NeedRebuild.
|
||||
|
||||
* Wed May 20 2020 huanghaitao <huanghaitao8@huawei.com> - 4.1.3-5
|
||||
- change require to rdma-core as libibmad and libibumad obsoleted
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user