From 13d3b83ab437128f53e6e5269763d422ef0290b2 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Thu, 5 Sep 2019 23:55:03 +0200 Subject: [PATCH] libffi: use right prefix --- libffi/recipe.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libffi/recipe.spec b/libffi/recipe.spec index 18711b6..b7d01c0 100644 --- a/libffi/recipe.spec +++ b/libffi/recipe.spec @@ -4,10 +4,10 @@ release: 1 sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz @install - set -e; - cd libffi-%{version}; + set -e + cd libffi-%{version} make DESTDIR="%{pkg}" install - cd "%{pkg}"; - mv usr/lib/libffi-%{version}/include usr; - nuke usr/lib/libffi-%{version} + cd "%{pkg}" + mv ./%{prefix}/lib/libffi-%{version}/include ./%{prefix} + nuke ./%{prefix}/lib/libffi-%{version}