Hello community, here is the log from the commit of package libmicrohttpd for openSUSE:Factory checked in at 2015-11-24 22:33:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmicrohttpd (Old) and /work/SRC/openSUSE:Factory/.libmicrohttpd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libmicrohttpd" Changes: -------- --- /work/SRC/openSUSE:Factory/libmicrohttpd/libmicrohttpd.changes 2015-11-15 12:45:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libmicrohttpd.new/libmicrohttpd.changes 2015-11-24 22:33:08.000000000 +0100 @@ -1,0 +2,7 @@ +Fri Nov 13 14:01:04 UTC 2015 - mpluskal@suse.com + +- Enable http2/spdy +- Don't build examples as we don't ship them anyway +- Disable tests as linking fails for them with spdy enabled + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmicrohttpd.spec ++++++ --- /var/tmp/diff_new_pack.bKn6jI/_old 2015-11-24 22:33:09.000000000 +0100 +++ /var/tmp/diff_new_pack.bKn6jI/_new 2015-11-24 22:33:09.000000000 +0100 @@ -17,14 +17,15 @@ # -%if 0%{?suse_version} > 1310 +%global libmicrohttpd libmicrohttpd12 +%global libmicrospdy libmicrospdy0 + +%if 0%{?suse_version} > 1310 && !0%{?sles_version} # libmicrosdpy requires openssl >= 1.0.1 # and spdylay -%define enable_libmicrospdy 0 +%define enable_libmicrospdy 1 %endif -%global libmicrohttpd libmicrohttpd12 -%global libmicrospdy libmicrospdy0 Name: libmicrohttpd Version: 0.9.46 Release: 0 @@ -46,6 +47,9 @@ BuildRequires: openssl-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?enable_libmicrospdy} +BuildRequires: spdylay-devel +%endif %description GNU libmicrohttpd is a small C library that is supposed to make it easy to run @@ -133,12 +137,14 @@ %build %configure \ - --enable-bauth --enable-dauth \ + --enable-bauth \ + --enable-dauth \ --enable-epoll \ --enable-messages \ --enable-postprocessor \ --enable-https \ --disable-static \ + --disable-examples \ %if 0%{?enable_libmicrospdy} --enable-spdy \ %else @@ -152,7 +158,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %check -make -j1 check +# linking fails with spdy enabled +#make -j1 check %post -n %{libmicrohttpd} -p /sbin/ldconfig