Bug 397651 - scriptlets broken in docbook-dtds-1.0-34.fc9
Summary: scriptlets broken in docbook-dtds-1.0-34.fc9
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: docbook-dtds
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-24 07:16 UTC by Matthias Clasen
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-26 09:38:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Clasen 2007-11-24 07:16:37 UTC
installing that build, I get:

[mclasen@localhost ~]$ sudo rpm -U --force docbook-dtds-1.0-34.fc9.noarch.rpm 
Can't open {CATALOG}: No such file or directory at -e line 1.


Here is the fix (I'm really sorry to dump such trivia into bugzilla,
but acls prevent me from building the trivial fix myself.)

@@ -630,7 +630,7 @@
   XML=$((XML - 1))
   SGML=$((SGML - 1))
   perl -e "@_=<>;@_[$XML, $SGML]=@_[$SGML, $XML];print @_" \
-    {CATALOG} > ${CATALOG}.rpmtmp
+    ${CATALOG} > ${CATALOG}.rpmtmp
   mv -f ${CATALOG}.rpmtmp ${CATALOG}
 fi

Comment 1 Matthias Clasen 2007-11-24 07:18:17 UTC
The effect of this bug is that _no_ docbook dtds are registered in the xml
catalogs at all, which broke my local builds and made me notice this bug.

Comment 2 Ondrej Vasik 2007-11-26 09:38:40 UTC
Thanks for report, fixed in docbook-dtds-1.0-35.fc9, closing RAWHIDE


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