!15 [sync] PR-14: 修复安装过程由于find-debuginfo.sh引起的告警
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
a8f2034eb8
@ -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 <xuping33@h-partners.com> - 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 <xiasenlin1@huawei.com> - 1.0.0-19
|
||||
- Type: Correction of bad behavior
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user