From fdf70c311fb6bcbdc11bef93f410021bfbbb8cc8 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Jan 12 2012 14:22:24 +0000 Subject: man page fixes & modernize spec file clean up old Provides and Obsoletes --- diff --git a/rng-tools-man.patch b/rng-tools-man.patch new file mode 100644 index 0000000..119c624 --- /dev/null +++ b/rng-tools-man.patch @@ -0,0 +1,33 @@ +diff -up rng-tools-3/rngd.8.in.man rng-tools-3/rngd.8.in +--- rng-tools-3/rngd.8.in.man 2009-12-24 07:47:24.000000000 +0100 ++++ rng-tools-3/rngd.8.in 2012-01-12 10:10:25.558096794 +0100 +@@ -25,7 +25,7 @@ it is properly random. + .PP + The \fB\-f\fR or \fB\-\-foreground\fR options can be used to tell + \fBrngd\fR to avoid forking on startup. This is typically used for +-debugging. The \fB\-f\fR or \fB\-\-foreground\fR options, which fork and put ++debugging. The \fB\-b\fR or \fB\-\-background\fR options, which fork and put + \fBrngd\fR into the background automatically, are the default. + .PP + The \fB\-r\fR or \fB\-\-rng-device\fR options can be used to select an +diff -up rng-tools-3/rngtest.1.in.man rng-tools-3/rngtest.1.in +--- rng-tools-3/rngtest.1.in.man 2009-12-24 07:47:24.000000000 +0100 ++++ rng-tools-3/rngtest.1.in 2012-01-12 10:12:27.909567190 +0100 +@@ -43,7 +43,7 @@ Exit after processing n input blocks, if + Dump statistics every n blocks, if n is not zero. + .TP + \fB\-t\fR \fIn\fR, \fB\-\-timedstats=\fIn\fR (default: 0) +-Dump statistics every n secods, if n is not zero. ++Dump statistics every n seconds, if n is not zero. + .TP + \fB\-?\fR, \fB\-\-help\fR + Give a short summary of all program options. +@@ -62,7 +62,7 @@ other statistics show a breakdown of the + tests are defined on FIPS 140-1 and FIPS 140-2 errata of 2001-10-10. They + were removed in FIPS 140-2 errata of 2002-12-03). + .PP +-The speed statistics are taken for every 20000-bit block trasferred or ++The speed statistics are taken for every 20000-bit block transferred or + processed. + + .SH EXIT STATUS diff --git a/rng-tools.spec b/rng-tools.spec index 630844d..762ce34 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -4,18 +4,16 @@ Summary: Random number generator related utilities Name: rng-tools Version: 3 -Release: 3%{?dist} +Release: 4%{?dist} Group: System Environment/Base License: GPLv2+ URL: http://sourceforge.net/projects/gkernel/ -Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) - Source0: http://downloads.sourceforge.net/project/gkernel/rng-tools/3/rng-tools-%{version}.tar.gz -Requires: chkconfig initscripts -BuildRequires: automake autoconf groff gettext -Provides: rng-utils = 1:2.0-4.2 -Obsoletes: rng-utils <= 1:2.0-4.1 +# Man pages +Patch0: rng-tools-man.patch + +BuildRequires: groff gettext %description Hardware random number generation tools. @@ -23,19 +21,17 @@ Hardware random number generation tools. %prep %setup -q +%patch0 -p1 -b .man + %build %configure make %{?_smp_mflags} %install -rm -rf %{buildroot} make DESTDIR=%{buildroot} install -%clean -rm -rf %{buildroot} %files -%defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{_bindir}/rngtest %{_sbindir}/rngd @@ -43,6 +39,10 @@ rm -rf %{buildroot} %{_mandir}/man8/rngd.8.* %changelog +* Thu Jan 12 2012 Jiri Popelka - 3-4 +- man page fixes +- modernize spec file + * Wed Feb 09 2011 Fedora Release Engineering - 3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild