- require X dependencies only for gxditview (#177118)

- work if bash's noclobber is on (#127492)
This commit is contained in:
Jindrich Novy 2006-01-06 19:36:42 +00:00
parent f19cf0d164
commit 8435167dae
2 changed files with 9 additions and 8 deletions

View File

@ -3,7 +3,7 @@
Summary: A document formatting system. Summary: A document formatting system.
Name: groff Name: groff
Version: 1.18.1.1 Version: 1.18.1.1
Release: 6 Release: 7
License: GPL License: GPL
Group: Applications/Publishing Group: Applications/Publishing
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
@ -36,13 +36,8 @@ Prereq: /sbin/install-info
Buildroot: %{_tmppath}/%{name}-root Buildroot: %{_tmppath}/%{name}-root
Obsoletes: groff-tools Obsoletes: groff-tools
Provides: nroff-i18n Provides: nroff-i18n
BuildRequires: netpbm-progs zlib-devel texinfo imake BuildRequires: netpbm-progs zlib-devel texinfo
BuildRequires: xorg-x11-proto-devel libX11-devel libXaw-devel
BuildRequires: libXt-devel libXpm-devel libXp-devel libXext-devel
BuildPrereq: byacc BuildPrereq: byacc
%if %{with_x}
#BuildRequires: xorg-x11-devel
%endif
%description %description
Groff is a document formatting system. Groff takes standard text and Groff is a document formatting system. Groff takes standard text and
@ -71,6 +66,8 @@ troff-to-ps print filter.
%package gxditview %package gxditview
Summary: An X previewer for groff text processor output. Summary: An X previewer for groff text processor output.
Group: Applications/Publishing Group: Applications/Publishing
BuildRequires: imake xorg-x11-proto-devel libX11-devel libXaw-devel
BuildRequires: libXt-devel libXpm-devel libXp-devel libXext-devel
%description gxditview %description gxditview
Gxditview displays the groff text processor's output on an X Window Gxditview displays the groff text processor's output on an X Window
@ -208,6 +205,10 @@ fi
%endif %endif
%changelog %changelog
* Fri Jan 06 2006 Jindrich Novy <jnovy@redhat.com> - 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 <jnovy@redhat.com> - 1.18.1.1-6 * Thu Jan 05 2006 Jindrich Novy <jnovy@redhat.com> - 1.18.1.1-6
- add BuildRequires imake and update dependencies for modular X - add BuildRequires imake and update dependencies for modular X
- spec cleanup - spec cleanup

2
nroff
View File

@ -47,7 +47,7 @@ done
TMPFILE=$(mktemp /tmp/man.XXXXXX) TMPFILE=$(mktemp /tmp/man.XXXXXX)
trap "rm -f $TMPFILE" 0 1 2 3 15 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 if iconv -f utf-8 -t utf-8 -o /dev/null ${TMPFILE} 2>/dev/null
then then