From 876215746b6b89ae293a34dbe8c924d849937cc0 Mon Sep 17 00:00:00 2001 From: Matej Muzila Date: Thu, 15 Mar 2018 16:37:58 +0100 Subject: [PATCH] Disable cast-function-type warning --- yp-tools.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/yp-tools.spec b/yp-tools.spec index f0a5459..6a4a91a 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -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 - 4.2.2-7 +- Disable cast-function-type warning + * Fri Feb 09 2018 Fedora Release Engineering - 4.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild