From 0f949112da37e37c3be59e18a2b23f74fd34e398 Mon Sep 17 00:00:00 2001 From: Zhao Hang Date: Tue, 18 Apr 2023 16:31:01 +0800 Subject: [PATCH] exclude vendor_perl while clean empty dir Signed-off-by: Zhao Hang --- clean_perl | 2 +- system-rpm-config.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/clean_perl b/clean_perl index c2cdaf7..dcd16c6 100755 --- a/clean_perl +++ b/clean_perl @@ -17,5 +17,5 @@ for i in $(find $d -name "*.bs"); do fi done -find $d -depth -mindepth 3 -type d -empty -exec rmdir {} \; +find $d -depth -mindepth 3 -type d ! -path "*vendor_perl/auto*" -empty -exec rmdir {} \; done diff --git a/system-rpm-config.spec b/system-rpm-config.spec index 7d378aa..89b23bd 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 33 +%define anolis_release 34 Summary: Anolis OS specific rpm configuration files Name: system-rpm-config @@ -211,6 +211,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/anolis/srpm forge.lua %license MulanPSL %changelog +* Tue Apr 18 2023 Liwei Ge - 1:23-34 +- exclude vendor_perl while clean empty dir + * Sat Apr 15 2023 Funda Wang - 1:23-33 - Drop unused flags for fortran -- Gitee