add macros to control if gssapi is support

(cherry picked from commit 24b640b66305eba4a15695b87230ed2eb225d4de)
This commit is contained in:
eaglegai 2024-07-09 07:36:01 +00:00 committed by openeuler-sync-bot
parent 7629ba2bce
commit 053b17ff24

View File

@ -1,6 +1,6 @@
Name: libtirpc Name: libtirpc
Version: 1.3.4 Version: 1.3.4
Release: 2 Release: 3
Summary: Transport-independent RPC library Summary: Transport-independent RPC library
License: SISSL and BSD License: SISSL and BSD
URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary
@ -28,7 +28,11 @@ The %{name}-devel package contains development files for %{name}.
%build %build
sh autogen.sh sh autogen.sh
autoreconf -fisv autoreconf -fisv
%if 0%{?build_cross} == 1
%configure --disable-gssapi
%else
%configure %configure
%endif
%make_build %make_build
%install %install
@ -60,6 +64,12 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue Jul 09 2024 gaihuiying <eaglegai@163.com> - 1.3.4-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add macros to control if gssapi is support
* Thu May 09 2024 zhangyaqi <zhangyaqi@kylinos.cn> - 1.3.4-2 * Thu May 09 2024 zhangyaqi <zhangyaqi@kylinos.cn> - 1.3.4-2
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA