diff --git a/libguestfs.spec b/libguestfs.spec index 83d6384da86e0a135c0ba7d65c8a5911790bc30d..f80376726ae9ec80acd5fffc7b435d4ee633ff8a 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -4,7 +4,7 @@ Name: libguestfs Version: 1.40.2 -Release: 18 +Release: 19 Epoch: 1 Summary: A set of tools for accessing and modifying virtual machine (VM) disk images 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 %endif +%ifarch sw_64 +chmod 644 %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Sys/Guestfs/Guestfs.so +%endif + %find_lang %{name} %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 %doc ocaml/examples/*.ml ocaml/html %{_libdir}/ocaml/guestfs/*.a +%ifnarch loongarch64 sw_64 %{_libdir}/ocaml/guestfs/*.cmxa %{_libdir}/ocaml/guestfs/*.cmx +%endif %{_libdir}/ocaml/guestfs/*.mli %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* %changelog +* Mon Aug 14 2023 suwei - - 1.40.2-19 +- Add loongarch64 and sw_64 support + * Tue Dec 13 2022 wulei - 1:1.40.2-18 - add some packages to fix libguestfs-test-tool error