From 206742257f0cc95c0598b295d9f0925c38328b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Wed, 29 Jan 2020 14:27:15 +0100 Subject: [PATCH] Do not remove RPM build root Removing the buildroot contents in %install has not been necessary or permitted for a long time. See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_sections --- perl-Encode-Detect.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/perl-Encode-Detect.spec b/perl-Encode-Detect.spec index 8ba8f09..488042d 100644 --- a/perl-Encode-Detect.spec +++ b/perl-Encode-Detect.spec @@ -38,7 +38,6 @@ EOF ./Build test %install -%{__rm} -rf "${RPM_BUILD_ROOT}" ./Build install destdir="${RPM_BUILD_ROOT}" create_packlist=0 find "${RPM_BUILD_ROOT}" -type f -name "*.bs" -size 0 -exec %{__rm} -f {} \; find "${RPM_BUILD_ROOT}" -depth -type d -exec rmdir {} 2>/dev/null \;