From 24b2e4df1ee0d1b6ed3fc93bdf24243caf075d17 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Tue, 19 Jan 2021 14:33:16 +0100 Subject: [PATCH] use set_build_flags instead of configure macro The configure script is not autoconf-generated. --- x264.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/x264.spec b/x264.spec index e11fd27..afd190a 100644 --- a/x264.spec +++ b/x264.spec @@ -86,7 +86,13 @@ scratch. This package contains the development files. %global x_configure \ -%configure \\\ +./configure \\\ + --host=%{_host} \\\ + --prefix=%{_prefix} \\\ + --exec-prefix=%{_exec_prefix} \\\ + --bindir=%{_bindir} \\\ + --includedir=%{_includedir} \\\ + --libdir=%{_libdir} \\\ %{?_without_libavformat:--disable-lavf} \\\ %{?_without_libswscale:--disable-swscale} \\\ %{!?_with_ffmpegsource:--disable-ffms} \\\ @@ -111,6 +117,7 @@ done %build +%set_build_flags pushd generic %{x_configure}\ %{?_without_asm:--disable-asm} @@ -172,6 +179,7 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/ %changelog * Tue Jan 19 2021 Dominik Mierzejewski - 0.161-3.20200912gitd198931 - Drop non-asm build for i686 and ppc64 (rfbz#5855) +- Use set_build_flags instead of configure macro for non-autotools script (rfbz#5854) * Thu Dec 31 2020 Leigh Scott - 0.161-2.20200912gitd198931 - Rebuilt for new ffmpeg snapshot