diff --git a/nc6-1.0-dnl.patch b/nc6-1.0-dnl.patch new file mode 100644 index 0000000..74bd082 --- /dev/null +++ b/nc6-1.0-dnl.patch @@ -0,0 +1,18 @@ +diff --git a/configure.ac b/configure.ac +index cd5dc28..cf3ef43 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,9 +3,11 @@ AC_INIT(nc6, 1.0, [ds6-devel@deepspace6.net]) + AC_CONFIG_AUX_DIR(config) + AC_CONFIG_SRCDIR(src/main.c) + AM_GNU_GETTEXT_VERSION(0.14.1) +-AM_INIT_AUTOMAKE(1.6) dnl Automake 1.6 or better is required ++dnl Automake 1.6 or better is required ++AM_INIT_AUTOMAKE(1.6) + AM_CONFIG_HEADER(config.h) +-AC_PREREQ(2.52) dnl Autoconf 2.52 or better is required ++AC_PREREQ(2.52) ++dnl Autoconf 2.52 or better is required + + + dnl Checks for programs. diff --git a/nc6.spec b/nc6.spec index 0677858..83b54b5 100644 --- a/nc6.spec +++ b/nc6.spec @@ -1,11 +1,14 @@ Summary: Netcat with IPv6 Support Name: nc6 Version: 1.0 -Release: 18%{?dist} +Release: 19%{?dist} Group: Applications/Internet URL: http://www.deepspace6.net/projects/netcat6.html License: GPLv2+ Source: ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/%{name}-%{version}.tar.bz2 +# Given that the trailing newlines are now a part of the comments, +# some macros with comments on the same line break. +Patch0: nc6-1.0-dnl.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel @@ -24,6 +27,7 @@ ago as another one of those cryptic but standard Unix tools." %prep %setup -q +%patch0 -p1 %build autoreconf -fiv @@ -39,6 +43,9 @@ make DESTDIR="%{buildroot}" install %doc README AUTHORS COPYING NEWS TODO %changelog +* Tue Jun 10 2014 Petr Ĺ abata - 1.0-19 +- Fix FTBFS with the current autoconf + * Sat Jun 07 2014 Fedora Release Engineering - 1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild