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:
@@ -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} \
|
||||
|
Reference in New Issue
Block a user