Blob Blame History Raw
From 93f35b10446fe14a0fd3e5d318056fe399479386 Mon Sep 17 00:00:00 2001
From: Milind Changire <mchangir@redhat.com>
Date: Thu, 13 Dec 2018 11:31:20 +0530
Subject: [PATCH 464/493] build: exclude packaging crypt.so

exclude packaging crypt.so for FIPS compliance

Label: DOWNSTREAM ONLY

BUG: 1653224
Change-Id: Icbf0d3efc90813c5856237213e6cf25af84e4915
Signed-off-by: Milind Changire <mchangir@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/158500
Tested-by: RHGS Build Bot <nigelb@redhat.com>
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
---
 glusterfs.spec.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 2745b50..baee2fa 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1198,8 +1198,8 @@ exit 0
      %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/debug/trace.so
 %if ( ! ( 0%{?rhel} && 0%{?rhel} < 6 ) )
 # RHEL-5 based distributions have a too old openssl
-%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption
-     %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption/crypt.so
+%exclude %dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption
+%exclude      %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/encryption/crypt.so
 %endif
 %dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features
      %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/access-control.so
-- 
1.8.3.1