#4 Fix conditional around polkit Recommends for building on EL7
Merged 3 years ago by vtrefny. Opened 3 years ago by ngompa.
rpms/ ngompa/udisks2 master-fix-recommends-conditional  into  master

file modified
+5 -2
@@ -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 @@ 

  # 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 @@ 

  %endif

  

  %changelog

+ * Mon Sep 07 2020 Neal Gompa <ngompa13@gmail.com> - 2.9.1-2

+ - Fix conditional around polkit Recommends for building on EL7

+ 

  * Wed Aug 12 2020 Tomas Bzatek <tbzatek@redhat.com> - 2.9.1-1

  - Version 2.9.1

  - Renamed zram-setup@.service to udisks2-zram-setup@.service

no initial comment

This will also need to be pulled in F33, ASAP. :smile:

Pull-Request has been merged by vtrefny

3 years ago