parent
9336317c39
commit
a519c16944
@ -2,7 +2,7 @@ Summary: The NIS (Network Information Service) server
|
||||
Url: http://www.linux-nis.org/nis/ypserv/index.html
|
||||
Name: ypserv
|
||||
Version: 4.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2
|
||||
Source0: https://github.com/thkukuk/%{name}/archive/v%{version}.tar.gz
|
||||
Source1: ypserv.service
|
||||
@ -91,6 +91,8 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
||||
%endif
|
||||
|
||||
# Fix gcc12 issues (#2047138)
|
||||
export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -Wno-format-overflow"
|
||||
|
||||
%configure \
|
||||
--enable-checkroot \
|
||||
@ -173,6 +175,10 @@ install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/rpc.yppasswdd.env
|
||||
%{_includedir}/rpcsvc
|
||||
|
||||
%changelog
|
||||
* Tue Feb 01 2022 Marek Kulik <mkulik@redhat.com> - 4.2-4
|
||||
- Fix gcc12 compilation issues
|
||||
- Resolves: #2047138
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user