From fe24b6b2233fc612516c61696c0ff41765170c89 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Sun, 1 Jan 2017 20:01:30 -0500 Subject: [PATCH] Move autogen.sh call to %prep before we make manual edits to configure script --- wxGTK3.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wxGTK3.spec b/wxGTK3.spec index 51de0f4..4ebda81 100644 --- a/wxGTK3.spec +++ b/wxGTK3.spec @@ -179,6 +179,9 @@ This package provides XML documentation for the %{srcname} library. %autosetup -n %{srcname}-%{version} %{!?builddocs:-a 1} -p1 %endif +# Run autogen since we're patching configure.in +./autogen.sh + # patch some installed files to avoid conflicts with 2.8.* sed -i -e 's|aclocal)|aclocal/wxwin3.m4)|' Makefile.in sed -i -e 's|wxstd.mo|wxstd3.mo|' Makefile.in @@ -208,7 +211,6 @@ make allmo popd %endif -./autogen.sh %configure \ --with-gtk=%{gtkver} \ --with-opengl \