Accepting request 734790 from Base:System

OBS-URL: https://build.opensuse.org/request/show/734790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcp?expand=0&rev=53
This commit is contained in:
Dominique Leuenberger 2019-10-04 09:20:35 +00:00 committed by Git OBS Bridge
commit ab6dd0678b
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 1 15:17:34 UTC 2019 - Ludwig Nussel <lnussel@suse.de>
- don't call 'cd' avoid relying on $HOME beeing set during rpm installation
-------------------------------------------------------------------
Wed Aug 28 10:17:39 UTC 2019 - David Disseldorp <ddiss@suse.com>

View File

@ -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