Add loongarch64 and sw_64 support
Signed-off-by: suwei <suwei@kylinsec.com.cn> (cherry picked from commit 7c325d2ba525b62c5a8704f6d5a845f41c6e137f)
This commit is contained in:
parent
73300eee05
commit
a4614f322c
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: libguestfs
|
Name: libguestfs
|
||||||
Version: 1.40.2
|
Version: 1.40.2
|
||||||
Release: 18
|
Release: 19
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: A set of tools for accessing and modifying virtual machine (VM) disk images
|
Summary: A set of tools for accessing and modifying virtual machine (VM) disk images
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -273,6 +273,10 @@ install -m 0644 utils/boot-analysis/boot-analysis.1 $RPM_BUILD_ROOT%{_mandir}/ma
|
|||||||
install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/man1/libguestfs-boot-benchmark.1
|
install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/man1/libguestfs-boot-benchmark.1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch sw_64
|
||||||
|
chmod 644 %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Sys/Guestfs/Guestfs.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -320,8 +324,10 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/
|
|||||||
%files -n ocaml-%{name}-devel
|
%files -n ocaml-%{name}-devel
|
||||||
%doc ocaml/examples/*.ml ocaml/html
|
%doc ocaml/examples/*.ml ocaml/html
|
||||||
%{_libdir}/ocaml/guestfs/*.a
|
%{_libdir}/ocaml/guestfs/*.a
|
||||||
|
%ifnarch loongarch64 sw_64
|
||||||
%{_libdir}/ocaml/guestfs/*.cmxa
|
%{_libdir}/ocaml/guestfs/*.cmxa
|
||||||
%{_libdir}/ocaml/guestfs/*.cmx
|
%{_libdir}/ocaml/guestfs/*.cmx
|
||||||
|
%endif
|
||||||
%{_libdir}/ocaml/guestfs/*.mli
|
%{_libdir}/ocaml/guestfs/*.mli
|
||||||
|
|
||||||
%files -n perl-Sys-Guestfs
|
%files -n perl-Sys-Guestfs
|
||||||
@ -372,6 +378,9 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/
|
|||||||
%exclude %{_mandir}/man1/virt-tar.1*
|
%exclude %{_mandir}/man1/virt-tar.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 14 2023 suwei <suwei@kylinsec.com.cn> - - 1.40.2-19
|
||||||
|
- Add loongarch64 and sw_64 support
|
||||||
|
|
||||||
* Tue Dec 13 2022 wulei <wulei80@h-partners.com> - 1:1.40.2-18
|
* Tue Dec 13 2022 wulei <wulei80@h-partners.com> - 1:1.40.2-18
|
||||||
- add some packages to fix libguestfs-test-tool error
|
- add some packages to fix libguestfs-test-tool error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user