diff --git a/custom_build_tool.spec b/custom_build_tool.spec index a41abb9..921d00e 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: 18 +Release: 19 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 @@ -91,7 +91,7 @@ sed -i '/####add parameter start/r /opt/custom_build_tool/rpmbuild-nocheck' /usr 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: ALL" >> /etc/sudoers +echo "abuild ALL=(ALL) NOPASSWD: /opt/custom_build_tool/rpmbuild-nocheck" >> /etc/sudoers %if %{with_ub} %post uploadbuild @@ -116,7 +116,6 @@ chmod 755 ${cmd_rpmbuild} %if %{with_san} %post san cp -a /usr/bin/mv /usr/bin/gmv -chmod 4777 /usr/bin/gmv sed -i '/####add parameter start/r /opt/custom_build_tool/rpmbuild-san' /usr/bin/rpmbuild old_gcc=/usr/bin/gcc old_gplus=/usr/bin/g++ @@ -265,6 +264,12 @@ rm -rf %{_tmppath}/%{name} rm -rf $RPM_BUILD_DIR/%{name} %changelog +* Mon Jan 24 2022 senlin - 1.0.0-19 +- Type: Correction of bad behavior +- ID: NA +- SUG: NA +- DESC: Specify the specific sudo commands for abuild users + * Fri Oct 16 2020 zhuchunyi - 1.0.0-18 - Type:new package - ID:NA