forked from pool/whois
Accepting request 79867 from home:lnussel:crypt_blowfish
- fix build on older distros OBS-URL: https://build.opensuse.org/request/show/79867 OBS-URL: https://build.opensuse.org/package/show/network:utilities/whois?expand=0&rev=21
This commit is contained in:
parent
faff0a3513
commit
698feffbfb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 26 07:50:06 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
- fix build on older distros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 19 08:48:20 UTC 2011 - lnussel@suse.de
|
Tue Jul 19 08:48:20 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
11
whois.spec
11
whois.spec
@ -34,6 +34,9 @@ Patch6: whois-5.0.11-mkpasswd-set-default-blowfish-rounds-to-5.diff
|
|||||||
Patch7: whois-5.0.11-mkpasswd-remove-obsolete-settings.diff
|
Patch7: whois-5.0.11-mkpasswd-remove-obsolete-settings.diff
|
||||||
Patch8: whois-5.0.11-mkpasswd-fix-compiler-warnings.diff
|
Patch8: whois-5.0.11-mkpasswd-fix-compiler-warnings.diff
|
||||||
BuildRequires: libidn-devel
|
BuildRequires: libidn-devel
|
||||||
|
%if 0%{?suse_version} <= 1140
|
||||||
|
BuildRequires: libxcrypt-devel
|
||||||
|
%endif
|
||||||
Provides: ripe-whois-tools
|
Provides: ripe-whois-tools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -57,7 +60,13 @@ mkpasswd, a simple front-end to crypt(3).
|
|||||||
rename no nb po/no.*
|
rename no nb po/no.*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make all mkpasswd HAVE_LIBIDN=1 HAVE_ICONV=1 HAVE_CRYPT_GENSALT=1 CFLAGS="%{optflags}"
|
make all mkpasswd HAVE_LIBIDN=1 HAVE_ICONV=1 \
|
||||||
|
%if 0%{?suse_version} <= 1140
|
||||||
|
HAVE_XCRYPT=1 \
|
||||||
|
%else
|
||||||
|
HAVE_CRYPT_GENSALT=1 \
|
||||||
|
%endif
|
||||||
|
CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}{/usr/bin,%{_mandir}/man1}
|
mkdir -p %{buildroot}{/usr/bin,%{_mandir}/man1}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user