Notification time stamped 2022-12-31 22:45:11 UTC
From a826bb3418390c4c16f8059a6bc37950c35d1388 Mon Sep 17 00:00:00 2001
From: Björn Esser <besser82(a)fedoraproject.org>
Date: Dec 31 2022 22:43:52 +0000
Subject: Optimized cleanup after installing compat files into %buildroot
---
diff --git a/libxcrypt.spec b/libxcrypt.spec
index f516aa3..170249c 100644
--- a/libxcrypt.spec
+++ b/libxcrypt.spec
@@ -465,8 +465,8 @@ popd
%make_install -C %{_vpath_builddir}-compat
# Cleanup everything we do not need from the compatibility library.
-find %{buildroot} -xtype f -not -name 'libcrypt.so.%{csoc}*' -delete -print
-find %{buildroot} -type l -not -name 'libcrypt.so.%{csoc}*' -delete -print
+find %{buildroot} \
+ -not -type d -not -name 'libcrypt.so.%{csoc}*' -delete -print
%endif
# Install the default system library.
https://src.fedoraproject.org/rpms/libxcrypt/c/a826bb3418390c4c16f8059a6b...