diff options
author | Slava Barinov <v.barinov@samsung.com> | 2023-06-01 13:08:29 +0300 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2023-06-28 13:01:52 +0900 |
commit | e02449bf7cfbe7335216e6e53c78e2a89a140b82 (patch) | |
tree | 3da2790ed6e81cce81207be753d22fc414f66bda /packaging | |
parent | 4b1e53accb8ddd17fa2280bb9a1ceb35f42832ca (diff) | |
download | rpm-e02449bf7cfbe7335216e6e53c78e2a89a140b82.tar.gz rpm-e02449bf7cfbe7335216e6e53c78e2a89a140b82.tar.bz2 rpm-e02449bf7cfbe7335216e6e53c78e2a89a140b82.zip |
Add riscv64 platform support
Change-Id: I05f6644bf914476880e91f4b2641e234cc23418e
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/rpm.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec index d5a585ed3..02246134b 100644 --- a/packaging/rpm.spec +++ b/packaging/rpm.spec @@ -133,6 +133,9 @@ rm -rf sqlite tar xjf %{S:1} ln -sfn db-4.8.30 db chmod -R u+w db/* +%ifarch riscv64 +install -m0755 $(automake --print-libdir)/config.sub db/dist/config.sub +%endif # will get linked from db3 rm -f rpmdb/db.h patch -p0 < %{S:2} @@ -236,7 +239,7 @@ for i in %{_datadir}/automake-*/*; do rm -f %{buildroot}%{rpmhome}/"${i##*/}" fi done -%ifarch aarch64 ppc64le +%ifarch aarch64 ppc64le riscv64 install -m 755 config.guess %{buildroot}%{rpmhome} install -m 755 config.sub %{buildroot}%{rpmhome} %endif @@ -335,7 +338,7 @@ rm -f %{_dbpath}/Filemd5s \ %{rpmhome}/macros.* %{rpmhome}/fileattrs %{rpmhome}/debug.manifest -%ifarch aarch64 ppc64le +%ifarch aarch64 ppc64le riscv64 %{rpmhome}/config.* %endif |