diff --git a/autogen-verifyh.patch b/autogen-verifyh.patch new file mode 100644 index 0000000..0edde7f --- /dev/null +++ b/autogen-verifyh.patch @@ -0,0 +1,12 @@ +diff -up autogen-5.18.12/pkg/libopts/mklibsrc.sh.verifyh autogen-5.18.12/pkg/libopts/mklibsrc.sh +--- autogen-5.18.12/pkg/libopts/mklibsrc.sh.verifyh 2015-10-03 19:39:47.000000000 +0200 ++++ autogen-5.18.12/pkg/libopts/mklibsrc.sh 2017-03-07 11:35:23.952528880 +0100 +@@ -42,7 +42,7 @@ files='libopts.c gettext.h parse-duratio + fgrep '#include' libopts.c | \ + sed -e 's,"$,,;s,#.*",,' ) + +-for f in ${files} intprops.h ++for f in ${files} intprops.h verify.h + do + test -f ${f} && + cp -f ${f} ${tagd}/${f} && continue diff --git a/autogen.spec b/autogen.spec index ae95f26..28c3a74 100644 --- a/autogen.spec +++ b/autogen.spec @@ -11,6 +11,8 @@ Source0: ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz # Fix multilib conflicts Patch0: autogen-multilib.patch +# Include verify.h in libopts tear-off tarball +Patch1: autogen-verifyh.patch Requires: %{name}-libopts%{?_isa} = %{version}-%{release} Requires(post): /sbin/install-info @@ -57,6 +59,7 @@ This package contains development files for libopts. %prep %setup -q %patch0 -p1 -b .multilib +%patch1 -p1 -b .verifyh # Disable failing test sed -i 's|errors.test||' autoopts/test/Makefile.in