From 4797effe1d0fbf6f9800befad4aaa694a7bc915b Mon Sep 17 00:00:00 2001 From: yangxiaoxuan Date: Fri, 20 May 2022 20:20:54 +0800 Subject: [PATCH] rebrand: update os.conf for Anolis OS Signed-off-by: yangxiaoxuan --- rear.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rear.spec b/rear.spec index 6e0f702..21d84f7 100644 --- a/rear.spec +++ b/rear.spec @@ -1,8 +1,9 @@ +%define anolis_release .0.1 Summary: Relax-and-Recover is a Linux disaster recovery and system migration tool Name: rear Version: 2.4 -Release: 16%{?dist} +Release: 16%{anolis_release}%{?dist} License: GPLv3 Group: Applications/File URL: http://relax-and-recover.org/ @@ -160,7 +161,7 @@ echo "30 1 * * * root /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue" >re ### Add a specific os.conf so we do not depend on LSB dependencies %{?fedora:echo -e "OS_VENDOR=Fedora\nOS_VERSION=%{?fedora}" >etc/rear/os.conf} -%{?rhel:echo -e "OS_VENDOR=RedHatEnterpriseServer\nOS_VERSION=%{?rhel}" >etc/rear/os.conf} +%{?anolis:echo -e "OS_VENDOR=AnolisOS\nOS_VERSION=%{?anolis}" >etc/rear/os.conf} %build # asciidoc writes a timestamp to files it produces, based on the last @@ -189,6 +190,9 @@ TZ=UTC %{__make} -C doc %{_sbindir}/rear %changelog +* Fri May 20 2022 liuzhilin - 2.4-16.0.1 +- Write os.conf for Anolis OS + * Tue Apr 26 2022 Pavel Cahyna - 2.4-16 - Apply upstream PR2237 to include multipath disks in backup -- Gitee