diff options
author | Slava Barinov <v.barinov@samsung.com> | 2023-06-20 14:03:32 +0300 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2023-06-28 13:02:03 +0900 |
commit | 2f0f06b45ccdfd5409cd13ecabfa262e14847b7e (patch) | |
tree | 50e061d88a215a4e8ed59a31881db9abdb90d0f3 | |
parent | e02449bf7cfbe7335216e6e53c78e2a89a140b82 (diff) | |
download | rpm-tizen_8.0_m2_release.tar.gz rpm-tizen_8.0_m2_release.tar.bz2 rpm-tizen_8.0_m2_release.zip |
Add config.sub update to %configure macrotizen_8.0_m2_releasesubmit/tizen_base/20230704.094030submit/tizen_base/20230703.114030accepted/tizen/base/tool/20230712.013400accepted/tizen/base/riscv/20230717.014331accepted/tizen/base/20230714.003523accepted/tizen/8.0/base/20231005.045218tizen_8.0_baseaccepted/tizen_base_toolaccepted/tizen_8.0_base
Change-Id: Iae6213d5dc5d4e3b21c88c142a73b29a59c3122c
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r-- | packaging/rpm-tizen_macros | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/rpm-tizen_macros b/packaging/rpm-tizen_macros index dbedbf7eb..fcb1a3cc7 100644 --- a/packaging/rpm-tizen_macros +++ b/packaging/rpm-tizen_macros @@ -16,6 +16,13 @@ %rb_arch %(echo %{_host_cpu}-linux | sed -e "s/i686/i586/" -e "s/armv5tel/armv4l/" -e "s/hppa2.0/hppa/") %rb_ver %(/usr/bin/ruby -e 'puts VERSION.sub(/\\\.\\\d$/, "")') +# Update config.sub file for packages not supporting current platform +%maybe_update_configsub \ +%ifarch riscv64 \ +[[ -e config.sub ]] && install -m 0755 $(automake --print-libdir)/config.sub config.sub \ +%endif \ +%{nil} + # external kernel module helper macro(s) %kernel_devel_uname_r %(/bin/rpm -q --provides $(/bin/rpm -q --whatprovides kernel-devel-uname-r) | sed -ne 's,kernel-devel-uname-r = ,, p') %kernel_release %(/bin/rpm -q --queryformat '%{RPMTAG_VERSION}-%{RPMTAG_RELEASE}' $(/bin/rpm -q --whatprovides kernel)) @@ -94,6 +101,7 @@ # Tizen # %configure \ + %maybe_update_configsub \ AR="%__ar"; export AR ; \ NM="%__nm"; export NM ; \ RANLIB="%__ranlib"; export RANLIB ; \ |