Bug 112745 - __mkfontdir wrong in scripts
__mkfontdir wrong in scripts
Status: CLOSED NEXTRELEASE
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: openoffice.org (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dan Williams
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-12-30 10:13 EST by Florian La Roche
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-02-10 15:18:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Florian La Roche 2003-12-30 10:13:46 EST
Description of problem:
Please look at rpm -qf --scripts openoffice* and look at
%__mkfontdir which does not exist in our rpm macros.
Error is not noticed due to being written to /dev/null. ;-)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Dan Williams 2003-12-30 13:25:22 EST
Does the following loop appropriate?  How come this doesn't get 
defined on RHEL3?  I'm also assuming its defined on Fedora, but that 
I don't know and will have to check when I get back into the office.

Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/openoffice.org.spec,v
retrieving revision 1.78
diff -u -r1.78 openoffice.org.spec
--- openoffice.org.spec 19 Dec 2003 05:17:31 -0000      1.78
+++ openoffice.org.spec 30 Dec 2003 18:24:57 -0000
@@ -668,6 +668,10 @@
 ##################################
 %post
 {
+  # RHEL3 doesn't define %__mkfontdir [112745]
+  %if %{build_taroon}
+    %define __mkfontdir umask 133;/usr/X11R6/bin/mkfontdir
+  %endif
   %__mkfontdir %{_libdir}/openoffice/share/fonts/truetype
   /usr/sbin/chkfontpath -q -a %{_libdir}/openoffice/share/fonts/
truetype
 } &> /dev/null || :
Comment 2 Dan Williams 2004-02-10 15:18:21 EST
closing as will no longer apply with 1.1.0 in U2

Note You need to log in before you can comment on or make changes to this bug.