From c8a2d5ed485acf1d57ee74dc622c54087677e6fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Fri, 3 Aug 2012 17:03:21 +0200 Subject: [PATCH] Removed usage parameter from the man page (popt leftover) --- irssi-0.8.15-man-fix.patch | 13 +++++++++++++ irssi.spec | 9 +++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 irssi-0.8.15-man-fix.patch diff --git a/irssi-0.8.15-man-fix.patch b/irssi-0.8.15-man-fix.patch new file mode 100644 index 0000000..30bb28e --- /dev/null +++ b/irssi-0.8.15-man-fix.patch @@ -0,0 +1,13 @@ +diff -up irssi-0.8.15/docs/irssi.1.orig irssi-0.8.15/docs/irssi.1 +--- irssi-0.8.15/docs/irssi.1.orig 2010-04-03 18:19:55.000000000 +0200 ++++ irssi-0.8.15/docs/irssi.1 2012-08-03 16:34:19.684160994 +0200 +@@ -59,9 +59,6 @@ display the version of Irssi. + .TP + .BI "\-?, \-\-help" + show a help message. +-.TP +-.BI "\-\-usage" +-display brief usage message. + .SH SEE ALSO + .B Irssi + has been supplied with a huge amount of documentation. Check /help or look diff --git a/irssi.spec b/irssi.spec index fe66b03..1518c25 100644 --- a/irssi.spec +++ b/irssi.spec @@ -3,7 +3,7 @@ Summary: Modular text mode IRC client with Perl scripting Name: irssi Version: 0.8.15 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2+ Group: Applications/Communications @@ -12,8 +12,9 @@ Source0: http://irssi.org/files/irssi-%{version}.tar.bz2 Source1: irssi-config.h # Bug 796457 Patch0: irssi-0.8.15-init-resize-crash-fix.patch +Patch1: irssi-0.8.15-man-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: ncurses-devel openssl-devel zlib-devel +BuildRequires: ncurses-devel openssl-devel zlib-devel BuildRequires: pkgconfig glib2-devel perl-devel perl(ExtUtils::Embed) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -38,6 +39,7 @@ being maintained. %prep %setup -q -n %{name}-%{version} %patch0 -p1 -b .init-resize-crash-fix +%patch1 -p1 -b .man-fix %build %configure --enable-ipv6 --with-textui \ @@ -87,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Aug 3 2012 Jaroslav Škarvada - 0.8.15-11 +- Removed usage parameter from the man page (popt leftover) + * Thu Jul 19 2012 Fedora Release Engineering - 0.8.15-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild