+++ /dev/null
---- gengetopt-2.22.6/src/Makefile.am.orig 2012-11-02 14:26:54.000000000 +0100
-+++ gengetopt-2.22.6/src/Makefile.am 2018-05-22 17:14:37.828404404 +0200
-@@ -51,7 +51,7 @@
- @LTLIBOBJS@ \
- skels/libgen.la
-
--LDADD = $(top_builddir)/src/libgengetopt.la
-+LDADD = libgengetopt.la
-
- EXTRA_DIST = parser.h argsdef.h gengetopt.h ggos.h gm.h gnugetopt.h \
- cmdline.c cmdline.h \
---- gengetopt-2.22.6/doc/gengetopt.texinfo.orig 2012-11-02 18:43:24.000000000 +0100
-+++ gengetopt-2.22.6/doc/gengetopt.texinfo 2018-05-22 17:14:01.845071479 +0200
-@@ -50,9 +50,9 @@
+--- gengetopt-2.23/doc/gengetopt.texi.orig 2019-06-26 21:12:05.153756178 +0200
++++ gengetopt-2.23/doc/gengetopt.texi 2019-06-26 21:43:17.613612193 +0200
+@@ -47,9 +47,9 @@
@end quotation
@end copying
-@dircategory GNU programming tools
+@dircategory Programming tools:
@direntry
--* Gengetopt: (gengetopt). Create command line options parsers
+-* Gengetopt: (gengetopt). Create command line options parsers
+* Gengetopt: (gengetopt). Create command line options parsers
@end direntry
Summary: C code generator that generates command line options parsers
Summary(pl.UTF-8): Generator kodu C generujący analizatory opcji linii poleceń
Name: gengetopt
-Version: 2.22.6
+Version: 2.23
Release: 1
License: GPL v3+
Group: Development/Tools
-Source0: http://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz
-# Source0-md5: 29749a48dda69277ab969c510597a14e
+Source0: https://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.xz
+# Source0-md5: ea165d618640dbdecb42ae4491337965
Patch0: %{name}-info.patch
-Patch1: %{name}-am.patch
URL: http://www.gnu.org/software/gengetopt/
BuildRequires: autoconf >= 2.58
BuildRequires: automake
BuildRequires: help2man
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.5
+BuildRequires: tar >= 1:1.22
BuildRequires: texinfo
+BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__libtoolize}
# packaged as %doc
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gengetopt
+# .texi meant just for index.html(?)
+%{__rm} $RPM_BUILD_ROOT%{_infodir}/index.info
%clean
rm -rf $RPM_BUILD_ROOT