Bug 119112
| Summary: | Contains $RPM_BUILD_ROOT | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Enrico Scholz <rh-bugzilla> |
| Component: | octave | Assignee: | Ivana Varekova <varekova> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | laroche, matthias, wtogami |
| Target Milestone: | --- | Keywords: | EasyFix |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-01-27 13:14:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 114963 | ||
|
Description
Enrico Scholz
2004-03-25 05:50:10 UTC
fixed in octave-2.1.50-9 *** Bug 112746 has been marked as a duplicate of this bug. *** Reopening this bug because the current Fedora Core Development package
still references $RPM_BUILD_ROOT in its %preun scriplet, which is wrong :
$ rpm -qp --scripts octave-2.1.57-3.i386.rpm
postinstall scriptlet (using /bin/sh):
/sbin/ldconfig
/sbin/install-info --info-dir=/usr/share/info/
--section="Programming:" --entry="* Octave:(octave).
Interactive language for numerical computations."
/usr/share/info/octave.info.gz
preuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ]; then
/sbin/install-info --delete --info-dir=/usr/share/info
/usr/share/info/octave.info.gz
fi
#
# Remove library links
# XXX Kind of unclean.
#
RM_SAFE=0
if [ -d $RPM_BUILD_ROOT/usr/lib64/octave-2.1.57 ]; then
pushd $RPM_BUILD_ROOT/usr/lib64 &> /dev/null
RM_SAFE=1
elif [ -d $RPM_BUILD_ROOT/usr/lib/octave-2.1.57 ]; then
pushd $RPM_BUILD_ROOT/usr/lib &> /dev/null
RM_SAFE=1
fi
if [ $RM_SAFE -eq 1 ]; then
rm -f liboctave.so
rm -f libcruft.so
rm -f liboctinterp.so
popd &> /dev/null
fi
postuninstall program: /sbin/ldconfig
Fixed in 2.1.57-4 which will be in rawhide soon Fixed in FC3. |