SHA256
1
0
forked from pool/whois

Accepting request 264260 from home:elvigia:branches:network:utilities

- whois-nobsdsource.patch: get rid of warnings about 
  BSD_SOURCE deprecatation , just define GNU_SOURCE 
  globally instead of any other C library feature macro.

OBS-URL: https://build.opensuse.org/request/show/264260
OBS-URL: https://build.opensuse.org/package/show/network:utilities/whois?expand=0&rev=49
This commit is contained in:
2014-12-08 08:15:47 +00:00
committed by Git OBS Bridge
parent 1ba4506931
commit 49e21577d2
3 changed files with 44 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ Requires: perl = %{perl_version}
%if 0%{?suse_version} <= 1140
BuildRequires: libxcrypt-devel
%endif
Patch: whois-nobsdsource.patch
%description
This package provides a commandline client for the WHOIS (RFC 3912)
@@ -61,6 +62,7 @@ echo "`grep -A1 "Checksums-Sha1" %{SOURCE3} | grep %{name}_%{version}.tar.xz | c
echo "`grep -A1 "Checksums-Sha256" %{SOURCE3} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | sha256sum -c
%setup -q
%patch -p1
%build
make all mkpasswd HAVE_LIBIDN=1 HAVE_ICONV=1 %{?_smp_mflags} \