Drop the sudo wrapper script
Related: RHEL-81745 Resolves: RHEL-88742
This commit is contained in:
parent
65b4317cf2
commit
435318cd81
@ -33,12 +33,11 @@ BuildRequires: scl-utils-build
|
||||
Summary: Package that installs %scl
|
||||
Name: %scl_name
|
||||
Version: %{gts_ver}.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/File
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: README
|
||||
Source1: sudo.sh
|
||||
Source2: gts-annobin-plugin-select.sh
|
||||
Source3: macros.gts
|
||||
|
||||
@ -152,12 +151,6 @@ export LD_LIBRARY_PATH=%{_scl_root}\$rpmlibdir\$rpmlibdir64\$rpmlibdir32\${LD_LI
|
||||
export PKG_CONFIG_PATH=%{_libdir}/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}
|
||||
EOF
|
||||
|
||||
# Sudo script
|
||||
# ===========
|
||||
cat <<'EOF' > sudo
|
||||
%{expand:%(cat %{SOURCE1})}
|
||||
EOF
|
||||
|
||||
%install
|
||||
|
||||
%if %have_scl_utils
|
||||
@ -189,8 +182,6 @@ install -d -m 755 %{buildroot}%{_scl_scripts}
|
||||
install -p -m 755 enable %{buildroot}%{_scl_scripts}/
|
||||
|
||||
%if %gts_only_gcc_binutils == 0
|
||||
install -p -m 755 sudo %{buildroot}%{_bindir}/
|
||||
|
||||
# Other directories that should be owned by the runtime
|
||||
install -d -m 755 %{buildroot}%{_datadir}/appdata
|
||||
# Otherwise unowned perl directories
|
||||
@ -264,6 +255,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu May 8 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-3
|
||||
- Drop the sudo wrapper script.
|
||||
|
||||
* Mon May 5 2025 Siddhesh Poyarekar <siddhesh@redhat.com> - 15.0-2
|
||||
- Split out a devel package to break the dependency look with gts-gcc and
|
||||
gts-binutils.
|
||||
|
1
sources
1
sources
@ -1,3 +1,2 @@
|
||||
SHA512 (README) = 213f19a40aa61549f533414e1042ec9d079ec45923953c69bb84007cdba19e54d9baac44422cd6b991f8acacfb13329e4cb027ffd762505d35814603dbb4dcf2
|
||||
SHA512 (gts-annobin-plugin-select.sh) = f5e5f4dc054bdd09c6d185bc3c671376ff8b825c8fa3f2969e25e10358405aa105f74154c63b6dc025cbe7e09eb24693664048685aaf481cc2a65d12ad9476b8
|
||||
SHA512 (sudo.sh) = 1378412b39b31f1f76b9d7b9fce5ea679e764a2fd85804fbc3b9ce1c8b5e9b1694be854b4407d1b5dba229763127c9cc64bc09bdf87b384c93536b97d001520d
|
||||
|
Loading…
Reference in New Issue
Block a user