diff --git a/udisks2.spec b/udisks2.spec index b8ae69a..ee37423 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -59,7 +59,7 @@ Name: udisks2 Summary: Disk Manager Version: 2.9.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://github.com/storaged-project/udisks Source0: https://github.com/storaged-project/udisks/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2 @@ -118,7 +118,7 @@ Requires: eject # For utab monitor Requires: libmount -%if (0%{?rhel}) && (0%{?rhel} <= 7) +%if ! (0%{?rhel} && 0%{?rhel} < 8) # Not really needed but doesn't make much sense to use UDisks without polkit # (weak deps don't work on older versions of RHEL) Recommends: polkit @@ -460,6 +460,9 @@ fi %endif %changelog +* Mon Sep 07 2020 Neal Gompa - 2.9.1-2 +- Fix conditional around polkit Recommends for building on EL7 + * Wed Aug 12 2020 Tomas Bzatek - 2.9.1-1 - Version 2.9.1 - Renamed zram-setup@.service to udisks2-zram-setup@.service