From 19e716c4ff1ab49d3b1569703d3a8dccc2bb31c2 Mon Sep 17 00:00:00 2001 From: zhangbinchen Date: Fri, 22 Jan 2021 16:51:14 +0800 Subject: [PATCH] Rebrand for Anolis OS Signed-off-by: zhangbinchen --- rpm.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rpm.spec b/rpm.spec index 2bbaa61..a6dd2c3 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) -- Gitee