diff options
author | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-08 12:38:53 +0900 |
---|---|---|
committer | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-08 12:38:53 +0900 |
commit | 7bafdff64017e3ea6aefef2acf03964bc5a58fd9 (patch) | |
tree | 5f5bf839893e5e25809fdf5643a49eab41762c84 | |
parent | ffde7cb0c04974c976bb4f18919bd44ebb240f63 (diff) | |
download | multipath-tools-tizen_9.0.tar.gz multipath-tools-tizen_9.0.tar.bz2 multipath-tools-tizen_9.0.zip |
Fix errorHEADtizen_9.0_m2_releaseaccepted/tizen/unified/riscv/20231226.211828accepted/tizen/unified/dev/20240620.010937accepted/tizen/unified/20231220.165102accepted/tizen/9.0/unified/20241030.235338tizen_9.0tizenaccepted/tizen_unified_riscvaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r-- | packaging/multipath-tools.spec | 6 |
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 |