diff --git a/rpm.spec b/rpm.spec index 2bbaa61eb34310082c46965110c7b06876ba80cf..a6dd2c3224a3c2b5c74548a17df0791012266c49 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 # build against xz? %bcond_without xz # just for giggles, option to build with internal Berkeley DB @@ -21,7 +22,7 @@ # build with readonly sqlite support? %bcond_without sqlite -%if 0%{?rhel} > 7 +%if 0%{?rhel} > 7 || 0%{?anolis} # Disable python2 build by default %bcond_with python2 %else @@ -44,7 +45,7 @@ Summary: The RPM package management system Name: rpm Version: %{rpmver} -Release: %{?snapver:0.%{snapver}.}%{rel}%{?dist} +Release: %{?snapver:0.%{snapver}.}%{rel}%{anolis_release}%{?dist} Group: System Environment/Base Url: http://www.rpm.org/ Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2 @@ -214,7 +215,7 @@ BuildRequires: libubsan %endif %if %{with libimaevm} -%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 +%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 || 0%{?anolis} %global imadevname ima-evm-utils-devel %else %global imadevname ima-evm-utils @@ -689,6 +690,9 @@ make check || cat tests/rpmtests.log %doc doc/librpm/html/* %changelog +* Wed Dec 15 2021 zhangbinchen - 4.14.3-19.0.1 +- Rebrand for Anolis OS + * Wed Oct 06 2021 Michal Domonkos - 4.14.3-19 - Unbreak in-tree kmod strip by reverting brp-strip fix (#1967291)