From 6d8c0f305a6a1e1d43b6eedd4e4bb5737467dea4 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 20:35:34 +0000 Subject: Only require kmod(ecryptfs.ko) if kernel-core --- diff --git a/SPECS/ecryptfs-utils.spec b/SPECS/ecryptfs-utils.spec index 40bdc3f..3bb6bf2 100644 --- a/SPECS/ecryptfs-utils.spec +++ b/SPECS/ecryptfs-utils.spec @@ -17,7 +17,7 @@ the interface supplied by the %{name} library. Name: ecryptfs-utils Version: 111 -Release: 15.1%{?dist} +Release: 15.2%{?dist} Summary: The eCryptfs mount helper and support libraries License: GPLv2+ URL: https://launchpad.net/ecryptfs @@ -96,7 +96,7 @@ BuildRequires: pkcs11-helper-devel BuildRequires: automake autoconf libtool glib2-devel gettext-devel perl-podlators libattr-devel Requires: keyutils, cryptsetup-luks, 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 @@ -364,6 +364,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 111-15.2 +- Only require kmod(ecrytfs.ko) if kernel-core + * Sun Jan 23 2022 Peter Georg - 111-15.1 - Adapt for CentOS Kmods SIG