From 90c21f9b2103a7da33b914778017e31e327d7c95 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Jan 25 2022 14:14:48 +0000 Subject: 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. --- diff --git a/openpgm.spec b/openpgm.spec index fab5cb0..a3e2846 100644 --- a/openpgm.spec +++ b/openpgm.spec @@ -50,6 +50,7 @@ This package contains OpenPGM related development libraries and header files. %patch5 -p3 dos2unix examples/getopt.c examples/getopt.h +%build libtoolize --force --copy aclocal autoheader @@ -57,7 +58,6 @@ automake --copy --add-missing autoconf %configure -%build # 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 # architectures were the ASM is not valid when compiling with LTO.