[cups.bugs] [MOD] STR #2380: ESPGS rpmbuild fails under RHES/CentOS 4.4
Tom Astle
tom at pcc.com
Fri May 11 09:49:44 PDT 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
When doing a "rpmbuild -tb espgs-8.15.4-source.tar.bz2" the final assembly
of the rpm fails when it cannot find the gs binary. See attached script
output.
We figured out how to fix it by hacking the ghostscript.spec file
This is the diff output:
--- ../SPECS/ghostscript.spec 2007-05-10 09:23:41.000000000 -0400
+++ ../BUILD/espgs-8.15.4/ghostscript.spec 2007-03-14
14:18:54.000000000 -0400
@@ -66,7 +66,7 @@
mkdir -p $RPM_BUILD_ROOT%{_docdir}/ghostscript
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ghostscript/8.15/examples
-make prefix=$RPM_BUILD_ROOT%{_prefix} install_prefix=$RPM_BUILD_ROOT/
install
+make prefix=$RPM_BUILD_ROOT%{_prefix} install_prefix=$RPM_BUILD_ROOT/
bindir=$RPM_BUILD_ROOT%{_bindir} datadir=$RPM_BUILD_ROOT%{_datadir}
mandir=$RPM_BUILD_ROOT%{_mandir} install
Link: http://www.cups.org/str.php?L2380
Version: 8.15rc4
Attachment: http://www.cups.org/strfiles/2380/typescript
More information about the cups
mailing list