Hello community, here is the log from the commit of package libssh2_org for openSUSE:Factory checked in at 2013-04-24 21:42:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libssh2_org (Old) and /work/SRC/openSUSE:Factory/.libssh2_org.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libssh2_org", Maintainer is "vci...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/libssh2_org/libssh2_org.changes 2013-03-03 21:07:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libssh2_org.new/libssh2_org.changes 2013-04-24 21:42:40.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Apr 24 07:54:17 UTC 2013 - bo...@steki.net + +- fix building on older kernels and older OS / SLE + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libssh2_org.spec ++++++ --- /var/tmp/diff_new_pack.qdXP9W/_old 2013-04-24 21:42:42.000000000 +0200 +++ /var/tmp/diff_new_pack.qdXP9W/_new 2013-04-24 21:42:42.000000000 +0200 @@ -67,11 +67,17 @@ %prep %setup -q -n %{pkg_name}-%{version} +# problem with sle 11 sp1 target as it has older kernel and as such fail this +%if 0%{?suse_version} > 1110 %patch -p1 +%endif %build sed -i -e 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g' configure.ac cp src/libssh2_config.h.in example/libssh2_config.h +# remove m4 macro files for libtool as they should be picked up by +# autoreconf +rm -v m4/libtool.m4 m4/lt* autoreconf -fiv export CFLAGS="%optflags -DOPENSSL_LOAD_CONF" %configure \ @@ -80,12 +86,18 @@ --with-openssl=%{_prefix} make %{?_smp_mflags} +%if !0%{?sles_version} + %if 0%{?suse_version} >= 1230 + %check make check + %endif +%endif + %install make install DESTDIR=%{buildroot} -rm -f %{buildroot}%{_libdir}/*.la +rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/*.a %post -n libssh2-1 -p /sbin/ldconfig -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org