From 6ca4d50f9fac90b4e780ce0d25b12f2e120cda31 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 20:33:50 +0000 Subject: Only require kmod(ecryptfs.ko) if kernel-core --- diff --git a/SPECS/ecryptfs-utils.spec b/SPECS/ecryptfs-utils.spec index 9a7c09d..18654e3 100644 --- a/SPECS/ecryptfs-utils.spec +++ b/SPECS/ecryptfs-utils.spec @@ -16,7 +16,7 @@ the interface supplied by the %{name} library. Name: ecryptfs-utils Version: 111 -Release: 26.1%{?dist} +Release: 26.2%{?dist} Summary: The eCryptfs mount helper and support libraries License: GPLv2+ URL: https://launchpad.net/ecryptfs @@ -95,7 +95,7 @@ BuildRequires: pkcs11-helper-devel BuildRequires: automake autoconf libtool glib2-devel gettext-devel perl-podlators libattr-devel Requires: keyutils, cryptsetup, util-linux, gettext -Requires: kmod(ecryptfs.ko) +Requires: (kmod(ecryptfs.ko) if kernel-core) %description eCryptfs is a stacked cryptographic filesystem that ships in Linux @@ -316,6 +316,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 111-26.2 +- Only require kmod(ecryptfs.ko) if kernel-core + * Sun Jan 23 2022 Peter Georg - 111-26.1 - Adapt for CentOS Kmods SIG