diff --git a/pcp.changes b/pcp.changes index 838a72e..7c80ab7 100644 --- a/pcp.changes +++ b/pcp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 1 15:17:34 UTC 2019 - Ludwig Nussel + +- don't call 'cd' avoid relying on $HOME beeing set during rpm installation + ------------------------------------------------------------------- Wed Aug 28 10:17:39 UTC 2019 - David Disseldorp diff --git a/pcp.spec b/pcp.spec index f061236..2074588 100644 --- a/pcp.spec +++ b/pcp.spec @@ -2890,8 +2890,7 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild" %endif %endif -cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild -cd +(cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild) %post -n %{lib_pkg} -p /sbin/ldconfig %postun -n %{lib_pkg} -p /sbin/ldconfig