Hello community,

here is the log from the commit of package whois for openSUSE:Factory
checked in at Mon Aug 29 10:30:15 CEST 2011.



--------
--- whois/whois.changes 2011-07-19 10:48:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/whois/whois.changes    2011-08-26 
09:50:14.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Aug 26 07:50:06 UTC 2011 - lnus...@suse.de
+
+- fix build on older distros
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ whois.spec ++++++
--- /var/tmp/diff_new_pack.FsMEdY/_old  2011-08-29 10:24:08.000000000 +0200
+++ /var/tmp/diff_new_pack.FsMEdY/_new  2011-08-29 10:24:08.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           whois
 Version:        5.0.11
-Release:        2
+Release:        5
 License:        GPLv2+
 Summary:        Whois Client Program
 Url:            http://www.linux.it/~md/software/
@@ -34,6 +34,9 @@
 Patch7:         whois-5.0.11-mkpasswd-remove-obsolete-settings.diff
 Patch8:         whois-5.0.11-mkpasswd-fix-compiler-warnings.diff
 BuildRequires:  libidn-devel
+%if 0%{?suse_version} <= 1140
+BuildRequires:  libxcrypt-devel
+%endif
 Provides:       ripe-whois-tools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -57,7 +60,13 @@
 rename no nb po/no.*
 
 %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
 mkdir -p %{buildroot}{/usr/bin,%{_mandir}/man1}


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to