From 921b1474d84e5383ca0b0f8f04551505f606d3b6 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 10 Apr 2023 21:39:25 +0800 Subject: [PATCH] Fix clean_perl directory depth --- clean_perl | 2 +- system-rpm-config.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/clean_perl b/clean_perl index 1a1214a..c2cdaf7 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 2 -type d -empty -exec rmdir {} \; +find $d -depth -mindepth 3 -type d -empty -exec rmdir {} \; done diff --git a/system-rpm-config.spec b/system-rpm-config.spec index 1637eb2..82d6de2 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 31 +%define anolis_release 32 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 +* Mon Apr 10 2023 Funda Wang - 1:23-32 +- Fix clean_perl directory depth + * Mon Mar 27 2023 happy_orange - 1:23-31 - add some src macros -- Gitee