summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@fedoraproject.org>2006-01-06 19:36:42 +0000
committerJindrich Novy <jnovy@fedoraproject.org>2006-01-06 19:36:42 +0000
commit8435167dae1d611323d5aa8ad5640e98fb98e349 (patch)
treee0e11a51dcf24d036c4b6cfc9dda8ae37aca723f
parentf19cf0d164ea9d55e6f39acf3a3ae696893d0f77 (diff)
downloadgroff-8435167dae1d611323d5aa8ad5640e98fb98e349.tar.gz
groff-8435167dae1d611323d5aa8ad5640e98fb98e349.tar.xz
groff-8435167dae1d611323d5aa8ad5640e98fb98e349.zip
- require X dependencies only for gxditview (#177118)groff-1_18_1_1-7
- work if bash's noclobber is on (#127492)
-rw-r--r--groff.spec15
-rw-r--r--nroff2
2 files changed, 9 insertions, 8 deletions
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 <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
- 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