diff --git a/rear.spec b/rear.spec index 107e235935f4735025e89adc341f11612ad97a8e..49d64488132f3ff3629cf44d3b0c43100b440fa9 100644 --- a/rear.spec +++ b/rear.spec @@ -1,8 +1,8 @@ - +%define anolis_release .0.1 Summary: Relax-and-Recover is a Linux disaster recovery and system migration tool Name: rear Version: 2.4 -Release: 17%{?dist} +Release: 17%{anolis_release}%{?dist} License: GPLv3 Group: Applications/File URL: http://relax-and-recover.org/ @@ -164,7 +164,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 @@ -193,6 +193,9 @@ TZ=UTC %{__make} -C doc %{_sbindir}/rear %changelog +* Thu Jul 27 2023 yangxianzhao - 2.4-17.0.1 +- rebrand: Write os.conf for Anolis OS + * Mon Jun 19 2023 Pavel Cahyna - 2.4-17 - Apply PR2431 to migrate XFS configuration files - Fix typo in default.conf