From 4f163174a1ae7eb65882ce6ae93b75484fbc5979 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Jul 23 2018 20:30:39 +0000 Subject: SPEC: Drop unnecessary check for minor version of el7 CentOS 7.5.1804 was release more than 2 months ago https://blog.centos.org/2018/05/centos-7-5-1804-released/ So we can drop checks for minor versions of el7. They were used to distinguish between released and development versions and to use new optional features. Merges: https://pagure.io/SSSD/sssd/pull-request/3783 --- diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index f516a94..60fe2fb 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -112,7 +112,7 @@ %global enable_systemtap_opt --enable-systemtap %endif -%if (0%{?fedora} || (0%{?rhel} >= 7 && 0%{rhel7_minor} >= 4)) +%if (0%{?fedora} || 0%{?rhel} >= 7) %global with_secrets 1 %else %global with_secret_responder --without-secrets @@ -125,7 +125,7 @@ %global with_kcm_option --without-kcm %endif -%if (0%{?fedora} >= 27 || (0%{?rhel} >= 7 && 0%{?rhel7_minor} > 4)) +%if (0%{?fedora} >= 27 || 0%{?rhel} >= 7) %global with_gdm_pam_extensions 1 %else %global with_gdm_pam_extensions 0