Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
781f77f5ff | ||
|
|
1ab188fb7a |
2 changed files with 38 additions and 1 deletions
26
0001-units.man-mention-the-verbose-check-option.patch
Normal file
26
0001-units.man-mention-the-verbose-check-option.patch
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
From f43447efb1b382f90506dfbe745de00e32f1d615 Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Mon, 20 May 2013 15:17:32 +0200
|
||||
Subject: [PATCH] units.man: mention the --verbose-check option
|
||||
|
||||
... as an alias to --check-verbose since units --help mentions it
|
||||
---
|
||||
units.man | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/units.man b/units.man
|
||||
index d1762b5..483e1e4 100644
|
||||
--- a/units.man
|
||||
+++ b/units.man
|
||||
@@ -1627,7 +1627,7 @@ in the current locale are checked. You should always run
|
||||
with this option after modifying a units data file.
|
||||
.PP
|
||||
.TP
|
||||
-.BR "-\^-\^check-verbose"
|
||||
+.BR "-\^-\^check-verbose" ", " "-\^-\^verbose-check"
|
||||
Like the
|
||||
.CQ "--check"
|
||||
option, this option prints a list of units that
|
||||
--
|
||||
1.7.1
|
||||
|
||||
13
units.spec
13
units.spec
|
|
@ -1,7 +1,7 @@
|
|||
Summary: A utility for converting amounts from one unit to another
|
||||
Name: units
|
||||
Version: 2.01
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
|
||||
URL: http://www.gnu.org/software/units/units.html
|
||||
License: GPLv3+
|
||||
|
|
@ -12,6 +12,9 @@ BuildRequires: bison
|
|||
BuildRequires: ncurses-devel
|
||||
BuildRequires: readline-devel
|
||||
|
||||
# mention the --check-verbose option in units.1 man page
|
||||
Patch1: 0001-units.man-mention-the-verbose-check-option.patch
|
||||
|
||||
%description
|
||||
Units converts an amount from one unit to another, or tells you what
|
||||
mathematical operation you need to perform to convert from one unit to
|
||||
|
|
@ -20,6 +23,7 @@ well as conversions such as Fahrenheit to Celsius.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
|
@ -30,6 +34,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||
|
||||
gzip $RPM_BUILD_ROOT%{_infodir}/units.info
|
||||
|
||||
# provide a man page for units_cur as a symlink to units.1
|
||||
ln -s units.1 %{buildroot}%{_mandir}/man1/units_cur.1
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
|
@ -51,6 +58,10 @@ fi
|
|||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Mon May 20 2013 Kamil Dudka <kdudka@redhat.com> - 2.01-3
|
||||
- provide a man page for units_cur as a symlink to units.1
|
||||
- mention the --check-verbose option in units.1 man page
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.01-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue