From 35dbcdb2f586228a12896eac798dc6a29866e38f Mon Sep 17 00:00:00 2001 From: cherry530 Date: Fri, 29 Jul 2022 15:35:59 +0800 Subject: [PATCH] fix install custom_build_tool warning due to new rpm-build not provides find-debuginfo.sh Signed-off-by: cherry530 --- custom_build_tool.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/custom_build_tool.spec b/custom_build_tool.spec index 921d00e..191d2e4 100644 --- a/custom_build_tool.spec +++ b/custom_build_tool.spec @@ -6,7 +6,7 @@ Summary: custom build tool for obs License: Mulan PSL v2 Group: System/Management Version: 1.0.0 -Release: 19 +Release: 20 BuildRoot: %{_tmppath}/%{name} Source0: https://gitee.com/openeuler/custom_build_tool/repository/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: util-linux coreutils @@ -87,8 +87,6 @@ install -m 600 %{name}/rpmbuild-san %{buildroot}/opt/custom_build_tool/ bash /opt/custom_build_tool/custom_build_tool.sh %post nocheck sed -i '/####add parameter start/r /opt/custom_build_tool/rpmbuild-nocheck' /usr/bin/rpmbuild -%post nodebug -sed -i 's/strict=true/strict=false/' /usr/lib/rpm/find-debuginfo.sh %post target sed -i '/####add parameter start/r /opt/custom_build_tool/rpmbuild-target' /usr/bin/rpmbuild echo "abuild ALL=(ALL) NOPASSWD: /opt/custom_build_tool/rpmbuild-nocheck" >> /etc/sudoers @@ -264,6 +262,12 @@ rm -rf %{_tmppath}/%{name} rm -rf $RPM_BUILD_DIR/%{name} %changelog +* Fri Jul 29 2022 xu_ping - 1.0.0-20 +- Type: fix warning +- ID: NA +- SUG: NA +- DESC: fix install custom_build_tool warning due to new rpm-build not provides find-debuginfo.sh + * Mon Jan 24 2022 senlin - 1.0.0-19 - Type: Correction of bad behavior - ID: NA -- Gitee