diff --git a/cmake.spec b/cmake.spec index db27790eb7e1ec8d8d17a89d3bd515f5090cc635..30b1ec4a1dfec4773724b05b689a366dadd0454d 100644 --- a/cmake.spec +++ b/cmake.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 # Do we add appdata-files? # consider conditional on whether %%_metainfodir is defined or not instead -- rex %if 0%{?fedora} || 0%{?rhel} > 7 @@ -74,7 +75,7 @@ Name: %{orig_name}%{?name_suffix} Version: %{major_version}.%{minor_version}.%{patch_version} -Release: %{baserelease}%{?relsuf}%{?dist} +Release: %{baserelease}%{?relsuf}%{anolis_release}%{?dist} Summary: Cross-platform make system # most sources are BSD @@ -172,6 +173,11 @@ BuildRequires: desktop-file-utils BuildRequires: %{name}-rpm-macros %endif +# FIX bug: https://bugzilla.redhat.com/show_bug.cgi?id=1827927 +# more info: https://access.redhat.com/solutions/6068431 +%if %{without bundled_libarchive} +Requires: libarchive >= 3.3.3 +%endif Requires: %{name}-data = %{version}-%{release} Requires: %{name}-rpm-macros = %{version}-%{release} Requires: %{name}-filesystem%{?_isa} = %{version}-%{release} @@ -512,6 +518,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog +* Thu Nov 18 2021 Weitao Zhou - 3.18.2-11.0.1 +- Require libarchive >= 3.3.3 to fix crash by libarchive incompatible abi + * Thu Jun 03 2021 sguelton@redhat.com - 3.18.2-11 - Minimal libarchive req (#1965373)