Add support for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-10-24 18:36:53 +03:00
parent a855dedc5b
commit 3491d8c5a4
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
3 changed files with 7 additions and 4 deletions

View File

@ -20,7 +20,7 @@
Summary: GTK+ graphical user interface library
Name: gtk2
Version: 2.24.33
Release: 10%{?dist}
Release: 10.0.riscv64%{?dist}
License: LGPLv2+
URL: http://www.gtk.org
#VCS: git:git://git.gnome.org/gtk+#gtk-2-24
@ -220,7 +220,7 @@ done
# for places where we have two copies of the GTK+ package installed.
# (we might have x86_64 and i686 packages on the same system, for example.)
case "$host" in
alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*|aarch64*|mips64*)
alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*|aarch64*|mips64*|riscv64)
mv $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0 $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0-64
;;
*)
@ -322,6 +322,9 @@ gtk-query-immodules-2.0-%{__isa_bits} --update-cache
%doc tmpdocs/examples
%changelog
* Mon Oct 24 2022 David Abdurachmanov <davidlt@rivosinc.com> - 2.24.33-10.0.riscv64
- Add support for riscv64
* Wed Jul 27 2022 Tomas Popela <tpopela@redhat.com> - 2.24.33-10
- Fix FTBFS on F37/rawhide as apparently autoconf is not using ibm, but
redhat in the host triplet

View File

@ -39,7 +39,7 @@ fi
FILE=/etc/gtk-2.0/$host/gdk-pixbuf.loaders
case "$host" in
alpha*|ia64*|powerpc64*|s390x*|x86_64*|aarch64*)
alpha*|ia64*|powerpc64*|s390x*|x86_64*|aarch64*|riscv64)
/usr/bin/gdk-pixbuf-query-loaders-64 > $FILE
;;
*)

View File

@ -8,7 +8,7 @@ fi
umask 022
case "$1" in
alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*|aarch64*)
alpha*|ia64*|ppc64*|powerpc64*|s390x*|x86_64*|aarch64*|riscv64)
/usr/bin/gtk-query-immodules-2.0-64 --update-cache
;;
*)