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