!37 [sync] PR-36: deal with socket_wrapper splitting

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2025-02-08 04:13:53 +00:00 committed by Gitee
commit 0b5a73aeb7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: gssproxy
Version: 0.9.2
Release: 2
Release: 3
Summary: GSSAPI Proxy
License: MIT
URL: https://github.com/gssapi/gssproxy
@ -16,9 +16,7 @@ Source0: https://github.com/gssapi/%{name}/releases/download/v%{version}/%{name}
Patch1: backport-Remove-from-the-correct-list.patch
Requires: krb5 keyutils libverto-module-base libini_config
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%{?systemd_requires}
Conflicts: selinux-policy < 3.13.1-283.5
@ -29,7 +27,7 @@ BuildRequires: systemd-devel
%if %{with enable_check}
# for make check
BuildRequires: krb5-client krb5-server openldap-clients openldap-servers socket_wrapper nss_wrapper
BuildRequires: krb5-client krb5-server openldap-clients openldap-servers pkgconfig(socket_wrapper) nss_wrapper
%if %{with use_valgrind}
BuildRequires: valgrind glibc-debuginfo glibc
%endif
@ -38,10 +36,7 @@ BuildRequires: valgrind glibc-debuginfo glibc
%description
This is a proxy for GSSAPI which deals with credential handling
%package help
Summary: Help files for %{name}
%description help
Help files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
@ -55,11 +50,10 @@ autoreconf -f -i
--disable-rpath \
--with-gpp-default-behavior=REMOTE_FIRST
make %{?_smp_mflags} all
%make_build
make test_proxymech
%install
rm -rf %{buildroot}
%make_install
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
@ -112,6 +106,9 @@ mkdir -p %{buildroot}%{gpstatedir}/rcache
%{_mandir}/man8/gssproxy-mech.8*
%changelog
* Sat Jan 25 2025 Funda Wang <fundawang@yeah.net> - 0.9.2-3
- deal with socket_wrapper splitting
* Tue Mar 12 2024 yixiangzhike <yixiangzhike007@163.com> - 0.9.2-2
- backport upstream patch to remove node from the correct list