Move autogen.sh call to %prep before we make manual edits to configure script

epel8
Scott Talbert 8 years ago
parent 244ea7febf
commit fe24b6b223

@ -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 \

Loading…
Cancel
Save