Disable cast-function-type warning

This commit is contained in:
Matej Muzila 2018-03-15 16:37:58 +01:00
parent 7fe6b961d5
commit 876215746b
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: NIS (or YP) client programs
Name: yp-tools
Version: 4.2.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Group: System Environment/Base
Source: http://www.linux-nis.org/download/yp-tools/yp-tools-yp-tools-%{version}.tar.gz
@ -62,7 +62,7 @@ autoreconf -i -f -v
%build
export CFLAGS="$CFLAGS %{optflags}"
export CFLAGS="$CFLAGS %{optflags} -Wno-cast-function-type"
%configure --disable-domainname
@ -84,6 +84,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install
/var/yp/nicknames
%changelog
* Thu Mar 15 2018 Matej Mužila <mmuzila@redhat.com> - 4.2.2-7
- Disable cast-function-type warning
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild