!14 Fix gcc12 compilation issues
From: @XWwalker Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
6dd2bd55ac
10
ypserv.spec
10
ypserv.spec
@ -1,6 +1,6 @@
|
||||
Name: ypserv
|
||||
Version: 4.2
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: The NIS server
|
||||
License: GPLv2
|
||||
URL: https://github.com/thkukuk/ypserv
|
||||
@ -56,6 +56,8 @@ export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
||||
export CFLAGS="$CFLAGS -Wno-error=strict-prototypes"
|
||||
%endif
|
||||
|
||||
export CFLAGS="$CFLAGS -Wno-format-overflow"
|
||||
|
||||
%configure --enable-checkroot --enable-fqdn --libexecdir=%{_libdir}/yp \
|
||||
--with-dbmliborder=tokyocabinet --localstatedir=%{_localstatedir} --with-selinux
|
||||
%make_build
|
||||
@ -109,6 +111,12 @@ install -m 644 etc/ypserv.conf %{buildroot}/%{_sysconfdir}
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 30 2023 xingwei <xingwei14@h-partners.com> - 4.2-3
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Fix gcc12 compilation issues
|
||||
|
||||
* Thu Apr 20 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 4.2-2
|
||||
- Type:requirement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user