From f89a13144c5ebdea66b0288d07758312a16a92de Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sat, 25 Jan 2025 02:20:25 +0800 Subject: [PATCH] deal with socket_wrapper splitting --- gssproxy.spec | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/gssproxy.spec b/gssproxy.spec index f4732e0..5770a5b 100644 --- a/gssproxy.spec +++ b/gssproxy.spec @@ -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 - 0.9.2-3 +- deal with socket_wrapper splitting + * Tue Mar 12 2024 yixiangzhike - 0.9.2-2 - backport upstream patch to remove node from the correct list -- Gitee