summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTizenOpenSource <tizenopensrc@samsung.com>2023-12-08 12:38:53 +0900
committerTizenOpenSource <tizenopensrc@samsung.com>2023-12-08 12:38:53 +0900
commit7bafdff64017e3ea6aefef2acf03964bc5a58fd9 (patch)
tree5f5bf839893e5e25809fdf5643a49eab41762c84
parentffde7cb0c04974c976bb4f18919bd44ebb240f63 (diff)
downloadmultipath-tools-tizen_9.0.tar.gz
multipath-tools-tizen_9.0.tar.bz2
multipath-tools-tizen_9.0.zip
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r--packaging/multipath-tools.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/multipath-tools.spec b/packaging/multipath-tools.spec
index 894c667..7149cab 100644
--- a/packaging/multipath-tools.spec
+++ b/packaging/multipath-tools.spec
@@ -50,15 +50,17 @@ Authors:
%setup -q -n multipath-tools-%{version}
cp %{SOURCE1001} .
%build
+%{__make} -f create-config.mk
+
cd kpartx
export CFLAGS=$(echo ${CFLAGS} | sed -E "s/-Wp\,-D_FORTIFY_SOURCE=[0-9]//g")
export CXXFLAGS=$(echo ${CXXFLAGS} | sed -E "s/-Wp\,-D_FORTIFY_SOURCE=[0-9]//g")
export RPM_OPT_FLAGS=$(echo ${RPM_OPT_FLAGS} | sed -E "s/-Wp\,-D_FORTIFY_SOURCE=[0-9]//g")
-make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%_libdir
+%{__make} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%_libdir
%install
pushd kpartx
-make DESTDIR=$RPM_BUILD_ROOT LIB=%_libdir install
+%{__make} DESTDIR=$RPM_BUILD_ROOT LIB=%_libdir install
popd