From 1144f8192c17886d71841d3722508bed8b312213 Mon Sep 17 00:00:00 2001 From: Jay W Date: Fri, 11 Feb 2022 22:15:56 +0000 Subject: [PATCH] Update dtc.spec to use %%{_prefix} insteaf of /usr: dtc will fail to build when it's used as depedency for flatpak builds which is using /app prefix. --- dtc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtc.spec b/dtc.spec index 9a5f7d2..e897eb1 100644 --- a/dtc.spec +++ b/dtc.spec @@ -56,7 +56,7 @@ sed -i 's/python2/python3/' pylibfdt/setup.py %{make_build} EXTRA_CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %install -%{make_install} DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \ +%{make_install} DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/%{_prefix} \ LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} # we don't want ftdump and it conflicts with freetype-demos, so drop it (rhbz 797805)