!21 [sync] PR-20: generate ocaml sub-packages for sw_64 and loongarch64
From: @openeuler-sync-bot Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
ea4b7d438a
13
hivex.spec
13
hivex.spec
@ -1,4 +1,4 @@
|
|||||||
%ifarch %{ocaml_native_compiler}
|
%ifarch %{ocaml_native_compiler} loongarch64 sw_64
|
||||||
%bcond_without ocaml
|
%bcond_without ocaml
|
||||||
%else
|
%else
|
||||||
%bcond_with ocaml
|
%bcond_with ocaml
|
||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: hivex
|
Name: hivex
|
||||||
Version: 1.3.17
|
Version: 1.3.17
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: Windows Registry "hive" extraction library
|
Summary: Windows Registry "hive" extraction library
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: http://libguestfs.org/
|
URL: http://libguestfs.org/
|
||||||
@ -137,6 +137,10 @@ cd python3
|
|||||||
cd ..
|
cd ..
|
||||||
%make_install INSTALLDIRS=vendor
|
%make_install INSTALLDIRS=vendor
|
||||||
|
|
||||||
|
%ifarch sw_64
|
||||||
|
chmod 644 %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Win/Hivex/Hivex.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
|
||||||
@ -189,8 +193,10 @@ cd python3 && make check && cd ..
|
|||||||
|
|
||||||
%files -n ocaml-%{name}-devel
|
%files -n ocaml-%{name}-devel
|
||||||
%{_libdir}/ocaml/hivex/*.a
|
%{_libdir}/ocaml/hivex/*.a
|
||||||
|
%ifnarch loongarch64 sw_64
|
||||||
%{_libdir}/ocaml/hivex/*.cmxa
|
%{_libdir}/ocaml/hivex/*.cmxa
|
||||||
%{_libdir}/ocaml/hivex/*.cmx
|
%{_libdir}/ocaml/hivex/*.cmx
|
||||||
|
%endif
|
||||||
%{_libdir}/ocaml/hivex/*.mli
|
%{_libdir}/ocaml/hivex/*.mli
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -211,6 +217,9 @@ cd python3 && make check && cd ..
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 29 2023 guoqinglan <guoqinglan@kylinsec.com.cn> - 1.3.17-6
|
||||||
|
- generate ocaml sub-packages for sw_64 and loongarch64
|
||||||
|
|
||||||
* Fri Sep 24 2021 yaoxin <yaoxin30@huawei.com> - 1.3.17-5
|
* Fri Sep 24 2021 yaoxin <yaoxin30@huawei.com> - 1.3.17-5
|
||||||
- Fix CVE-2021-3622
|
- Fix CVE-2021-3622
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user