diff --git a/groff.spec b/groff.spec index ad470d9..9838d77 100644 --- a/groff.spec +++ b/groff.spec @@ -3,7 +3,7 @@ Summary: A document formatting system. Name: groff Version: 1.18.1.1 -Release: 6 +Release: 7 License: GPL Group: Applications/Publishing Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz @@ -36,13 +36,8 @@ Prereq: /sbin/install-info Buildroot: %{_tmppath}/%{name}-root Obsoletes: groff-tools Provides: nroff-i18n -BuildRequires: netpbm-progs zlib-devel texinfo imake -BuildRequires: xorg-x11-proto-devel libX11-devel libXaw-devel -BuildRequires: libXt-devel libXpm-devel libXp-devel libXext-devel +BuildRequires: netpbm-progs zlib-devel texinfo BuildPrereq: byacc -%if %{with_x} -#BuildRequires: xorg-x11-devel -%endif %description Groff is a document formatting system. Groff takes standard text and @@ -71,6 +66,8 @@ troff-to-ps print filter. %package gxditview Summary: An X previewer for groff text processor output. Group: Applications/Publishing +BuildRequires: imake xorg-x11-proto-devel libX11-devel libXaw-devel +BuildRequires: libXt-devel libXpm-devel libXp-devel libXext-devel %description gxditview Gxditview displays the groff text processor's output on an X Window @@ -208,6 +205,10 @@ fi %endif %changelog +* Fri Jan 06 2006 Jindrich Novy - 1.18.1.1-7 +- require X dependencies only for gxditview (#177118) +- work if bash's noclobber is on (#127492) + * Thu Jan 05 2006 Jindrich Novy - 1.18.1.1-6 - add BuildRequires imake and update dependencies for modular X - spec cleanup diff --git a/nroff b/nroff index 5ec2c17..2c7f3d0 100644 --- a/nroff +++ b/nroff @@ -47,7 +47,7 @@ done TMPFILE=$(mktemp /tmp/man.XXXXXX) trap "rm -f $TMPFILE" 0 1 2 3 15 -cat ${1+"$@"} > ${TMPFILE} +cat ${1+"$@"} >| ${TMPFILE} if iconv -f utf-8 -t utf-8 -o /dev/null ${TMPFILE} 2>/dev/null then