diff --git a/rear.spec b/rear.spec index 6e0f7024e924f33bbae9d5fa7ca9a1e9d72d0fbc..21d84f7e72f0fc046ad490fbc3c295cbc900429f 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