SHA256
1
0
forked from pool/whois

Accepting request 497855 from home:AndreasStieger:branches:network:utilities

- build with libidn2 for IDNA 2008 support FATE#321897
- fix CIDR notation and also convert using IDNA 2008 transitional
  bsc#1026831, add whois-5.2.15-fix-CIDR-with-libidn2.patch

OBS-URL: https://build.opensuse.org/request/show/497855
OBS-URL: https://build.opensuse.org/package/show/network:utilities/whois?expand=0&rev=78
This commit is contained in:
2017-05-23 21:52:48 +00:00
committed by Git OBS Bridge
parent 9836be82ca
commit b09ba8cf3d
3 changed files with 88 additions and 2 deletions

View File

@@ -30,8 +30,10 @@ Source2: %{name}.keyring
# rename .dsc to not build the package in OBS
Source3: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.dsc#/%{name}.asc
Patch0: whois-nobsdsource.patch
BuildRequires: libidn-devel
Patch1: whois-5.2.15-fix-CIDR-with-libidn2.patch
BuildRequires: pkgconfig
BuildRequires: xz
BuildRequires: pkgconfig(libidn2)
Provides: ripe-whois-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} != 1310
@@ -63,9 +65,10 @@ echo "`grep -A1 "Checksums-Sha256" %{SOURCE3} | grep %{name}_%{version}.tar.xz |
%setup -q
%patch0 -p1
%patch1 -p1
%build
make all mkpasswd HAVE_LIBIDN=1 HAVE_ICONV=1 %{?_smp_mflags} \
make all mkpasswd HAVE_LIBIDN2=1 HAVE_ICONV=1 %{?_smp_mflags} \
%if 0%{?suse_version} <= 1140
HAVE_XCRYPT=1 \
%else