diff --git a/udisks2.spec b/udisks2.spec index 98fb35dcace2aa408afd8a91de6464f0f3b2622f..66d97e1b51e0ae9e960994acb741f6fd71953e8a 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -17,18 +17,18 @@ # valid options are 'luks1' or 'luks2' %define default_luks_encryption luks1 -%define is_fedora (0%{?rhel} == 0) && (0%{?openeuler} == 0) +%define is_fedora (0%{?rhel} == 0) %define git_hash %(git log -1 --pretty=format:"%h" || true) %define build_date %(date '+%Y%m%d') # bcache is not available on RHEL -%if (0%{?rhel}) || (0%{?openeuler}) || %{with_bcache} == 0 +%if (0%{?rhel}) || (0%{?openEuler}) || %{with_bcache} == 0 %define with_bcache 0 %endif # btrfs is not available on RHEL > 7 -%if 0%{?rhel} > 7 || 0%{?openeuler} || %{with_btrfs} == 0 +%if 0%{?rhel} > 7 || 0%{?openEuler} || %{with_btrfs} == 0 %define with_btrfs 0 %endif @@ -43,14 +43,14 @@ %endif # feature parity with existing RHEL 7 packages -%if (0%{?rhel}) && (0%{?rhel} <= 7) && (0%{?openeuler} == 0) +%if (0%{?rhel}) && (0%{?rhel} <= 7) && (0%{?openEuler} == 0) %define with_lsm 0 %define with_zram 0 %define with_lvmcache 0 %endif # default to LUKS2 for RHEL > 7 -%if 0%{?rhel} > 7 || 0%{?openeuler} +%if 0%{?rhel} > 7 || 0%{?openEuler} %define default_luks_encryption luks2 %endif @@ -58,7 +58,7 @@ Name: udisks2 Summary: Disk Manager Version: 2.9.4 -Release: 2 +Release: 3 License: GPL-2.0+ and LGPL-2.0+ Group: System Environment/Libraries URL: https://github.com/storaged-project/udisks @@ -121,7 +121,7 @@ Requires: libmount Requires: lib%{name}%{?_isa} = %{version}-%{release} # For mkntfs (not available on rhel or on ppc/ppc64) -%if ! 0%{?rhel} && ! 0%{?openeuler} +%if ! 0%{?rhel} && ! 0%{?openEuler} %ifnarch ppc ppc64 Requires: ntfsprogs %endif @@ -436,6 +436,9 @@ udevadm trigger %endif %changelog +* Fri Jun 17 2022 Zhiqiang Liu - 2.9.4-3 +- correct release name "openEuler" + * Sat Feb 19 2022 yanglongkang - 2.9.4-2 - correct License