fix "xmlwf -h" output (#948534)

Resolves: rhbz#948534
This commit is contained in:
Joe Orton 2013-06-17 15:53:13 +01:00
parent ac1a650ad0
commit c114704d4d
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,14 @@
https://bugzilla.redhat.com/show_bug.cgi?id=948534
--- expat-2.1.0/xmlwf/xmlwf.c.xmlwfargs
+++ expat-2.1.0/xmlwf/xmlwf.c
@@ -634,7 +634,7 @@ static void
usage(const XML_Char *prog, int rc)
{
ftprintf(stderr,
- T("usage: %s [-n] [-p] [-r] [-s] [-w] [-x] [-d output-dir] "
+ T("usage: %s [-s] [-n] [-p] [-x] [-w] [-d output-dir] [-c] [-m] [-r] [-t] [-v] "
"[-e encoding] file ...\n"), prog);
exit(rc);
}

View File

@ -1,9 +1,10 @@
Summary: An XML parser library
Name: expat
Version: 2.1.0
Release: 5%{?dist}
Release: 6%{?dist}
Group: System Environment/Libraries
Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.gz
Patch0: expat-2.1.0-xmlwfargs.patch
URL: http://www.libexpat.org/
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -37,6 +38,7 @@ Install it if you need to link statically with expat.
%prep
%setup -q
%patch0 -p1 -b .xmlwfargs
%build
rm -rf autom4te*.cache
@ -83,6 +85,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/lib*.a
%changelog
* Mon Jun 17 2013 Joe Orton <jorton@redhat.com> - 2.1.0-6
- fix "xmlwf -h" output (#948534)
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild