Move %configure and associated steps to %build

%configure and friends invoke code that is part of the package
and should be in %build.

If https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/172
is merged, %configure would start throwing an error. This change
is proactively to avoid a later build failure. No rebuild will
be done.
epel9 imports/e9/openpgm-5.2.122-28.el9
Zbigniew Jędrzejewski-Szmek 3 years ago
parent 9c8655d5dc
commit 90c21f9b21

@ -50,6 +50,7 @@ This package contains OpenPGM related development libraries and header files.
%patch5 -p3 %patch5 -p3
dos2unix examples/getopt.c examples/getopt.h dos2unix examples/getopt.c examples/getopt.h
%build
libtoolize --force --copy libtoolize --force --copy
aclocal aclocal
autoheader autoheader
@ -57,7 +58,6 @@ automake --copy --add-missing
autoconf autoconf
%configure %configure
%build
# This package has a configure test which uses ASMs, but does not link the # This package has a configure test which uses ASMs, but does not link the
# resultant .o files. As such the ASM test is always successful, even on # resultant .o files. As such the ASM test is always successful, even on
# architectures were the ASM is not valid when compiling with LTO. # architectures were the ASM is not valid when compiling with LTO.

Loading…
Cancel
Save