Add support for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-04-05 09:53:06 +03:00
parent 94932ce605
commit fb5d3b8b32
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: 13%{?dist}
Release: 13.0.riscv64%{?dist}
License: LGPLv2+
URL: http://www.gtk.org
#VCS: git:git://git.gnome.org/gtk+#gtk-2-24
@ -230,7 +230,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
;;
*)
@ -334,6 +334,9 @@ gtk-query-immodules-2.0-%{__isa_bits} --update-cache
%doc tmpdocs/examples
%changelog
* Wed Apr 05 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.24.33-13.0.riscv64
- Add support for riscv64
* Wed Feb 01 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.24.33-13
- Make the gtk-immodules-imsettings subpackage noarch

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
;;
*)