From cbd3510f5286e0378a418da0459009a90fcc4fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 20 May 2020 15:05:31 +0200 Subject: [PATCH] Fixed man pages according to man page scan --- graphviz-2.44.0-man-fix.patch | 118 ++++++++++++++++++++++++++++++++++ graphviz.spec | 8 ++- 2 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 graphviz-2.44.0-man-fix.patch diff --git a/graphviz-2.44.0-man-fix.patch b/graphviz-2.44.0-man-fix.patch new file mode 100644 index 0000000..bb1a38a --- /dev/null +++ b/graphviz-2.44.0-man-fix.patch @@ -0,0 +1,118 @@ +diff --git a/cmd/dot/dot.1 b/cmd/dot/dot.1 +index 986b262..e9c56f2 100644 +--- a/cmd/dot/dot.1 ++++ b/cmd/dot/dot.1 +@@ -635,6 +635,22 @@ As usual, edge layout is guided by the \fBsplines\fR attribute. + .PP + \fB\-y\fR invert y coordinate in output. + .PP ++\fB\-o\fIfile\fR write output to \fIfile\fP. ++.PP ++\fB\-x\fP reduce graph. ++.PP ++\fB\-Lg\fP don't use grid. ++.PP ++\fB\-LO\fP use old attractive force. ++.PP ++\fB\-Ln\fIi\fR set number of iterations to \fIi\fP. ++.PP ++\fB\-LU\fIi\fR set unscaled factor to \fIi\fP. ++.PP ++\fB\-LC\fIv\fR set overlap expansion factor to \fIv\fP. ++.PP ++\fB\-LT\fR[*]\fIv\fR set temperature (temperature factor) to \fIv\fP. ++.PP + \fB\-V\fP (version) prints version information and exits. + .PP + \fB\-?\fP prints the usage and exits. +diff --git a/cmd/dot/osage.1 b/cmd/dot/osage.1 +index 0efbf90..5eded8b 100644 +--- a/cmd/dot/osage.1 ++++ b/cmd/dot/osage.1 +@@ -404,6 +404,22 @@ If \fB\-l\fP is given by itself, the standard library is omitted. + .PP + \fB\-O\fP automatically generate output filenames based on the input filename and the \-T format. + .PP ++\fB\-o\fIfile\fR write output to \fIfile\fP. ++.PP ++\fB\-x\fP reduce graph. ++.PP ++\fB\-Lg\fP don't use grid. ++.PP ++\fB\-LO\fP use old attractive force. ++.PP ++\fB\-Ln\fIi\fR set number of iterations to \fIi\fP. ++.PP ++\fB\-LU\fIi\fR set unscaled factor to \fIi\fP. ++.PP ++\fB\-LC\fIv\fR set overlap expansion factor to \fIv\fP. ++.PP ++\fB\-LT\fR[*]\fIv\fR set temperature (temperature factor) to \fIv\fP. ++.PP + \fB\-v\fP (verbose) prints various information useful for debugging. + .PP + \fB\-V\fP (version) prints version information and exits. +diff --git a/cmd/dot/patchwork.1 b/cmd/dot/patchwork.1 +index 7fe68fb..852f516 100644 +--- a/cmd/dot/patchwork.1 ++++ b/cmd/dot/patchwork.1 +@@ -398,6 +398,22 @@ If \fB\-l\fP is given by itself, the standard library is omitted. + .PP + \fB\-O\fP automatically generate output filenames based on the input filename and the \-T format. + .PP ++\fB\-o\fIfile\fR write output to \fIfile\fP. ++.PP ++\fB\-x\fP reduce graph. ++.PP ++\fB\-Lg\fP don't use grid. ++.PP ++\fB\-LO\fP use old attractive force. ++.PP ++\fB\-Ln\fIi\fR set number of iterations to \fIi\fP. ++.PP ++\fB\-LU\fIi\fR set unscaled factor to \fIi\fP. ++.PP ++\fB\-LC\fIv\fR set overlap expansion factor to \fIv\fP. ++.PP ++\fB\-LT\fR[*]\fIv\fR set temperature (temperature factor) to \fIv\fP. ++.PP + \fB\-v\fP (verbose) prints various information useful for debugging. + .PP + \fB\-V\fP (version) prints version information and exits. +diff --git a/cmd/gvmap/cluster.1 b/cmd/gvmap/cluster.1 +index 15b0332..188dcd6 100644 +--- a/cmd/gvmap/cluster.1 ++++ b/cmd/gvmap/cluster.1 +@@ -51,6 +51,9 @@ Specifies that output should go into the file \fIoutfile\fP. By default, + .TP + .BI \-v + Verbose mode. ++.TP ++.BI \-? ++Prints the usage and exits. + .SH EXAMPLES + .PP + Applying +diff --git a/cmd/tools/unflatten.1 b/cmd/tools/unflatten.1 +index 7857cf0..089496f 100644 +--- a/cmd/tools/unflatten.1 ++++ b/cmd/tools/unflatten.1 +@@ -3,7 +3,7 @@ + unflatten \- adjust directed graphs to improve layout aspect ratio + .SH SYNOPSIS + .B unflatten +-[\fB\-f\fR] ++[\fB\-f?\fR] + [\fB\-l\fIlen\fR] + [\fB\-c\fIlen\fR + ] [ +@@ -41,6 +41,9 @@ Form disconnected nodes into chains of up to \fIlen\fP nodes. + .BI \-o " outfile" + causes the output to be written to the specified file; by default, + output is written to \fBstdout\fP. ++.TP ++.BI \-? ++Prints the usage and exits. + .SH OPERANDS + The following operand is supported: + .TP 8 diff --git a/graphviz.spec b/graphviz.spec index 0988b7a..70909ad 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -65,13 +65,15 @@ Name: graphviz Summary: Graph Visualization Tools Version: 2.44.0 -Release: 5%{?dist} +Release: 6%{?dist} License: EPL-1.0 URL: http://www.graphviz.org/ Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 # rhbz#1505230 Patch0: graphviz-2.42.2-dotty-menu-fix.patch Patch1: graphviz-2.42.2-coverity-scan-fixes.patch +# rhbz#1612692, https://gitlab.com/graphviz/graphviz/-/merge_requests/1367 +Patch2: graphviz-2.44.0-man-fix.patch BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, expat-devel, freetype-devel >= 2 BuildRequires: ksh, bison, m4, flex, tk-devel, tcl-devel >= 8.3, swig, sed BuildRequires: fontconfig-devel, libtool-ltdl-devel, ruby-devel, ruby, guile-devel @@ -285,6 +287,7 @@ Various tcl packages (extensions) for the graphviz tools. %setup -q %patch0 -p1 -b .dotty-menu-fix %patch1 -p1 -b .coverity-scan-fixes +%patch2 -p1 -b .man-fix # Attempt to fix rpmlint warnings about executable sources find -type f -regex '.*\.\(c\|h\)$' -exec chmod a-x {} ';' @@ -582,6 +585,9 @@ php --no-php-ini \ %{_mandir}/man3/*.3tcl* %changelog +* Wed May 20 2020 Jaroslav Škarvada - 2.44.0-6 +- Fixed man pages according to man page scan + * Mon May 04 2020 Richard W.M. Jones - 2.44.0-5 - OCaml 4.11.0+dev2-2020-04-22 rebuild