Hello community, here is the log from the commit of package libcares2 for openSUSE:Factory checked in at 2014-05-17 06:43:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcares2 (Old) and /work/SRC/openSUSE:Factory/.libcares2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libcares2" Changes: -------- --- /work/SRC/openSUSE:Factory/libcares2/libcares2.changes 2013-05-07 07:24:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libcares2.new/libcares2.changes 2014-05-17 06:43:20.000000000 +0200 @@ -1,0 +2,14 @@ +Thu May 15 12:07:42 UTC 2014 - tchvatal@suse.com + +- Version bump to 1.10.0: + * Various small updates all around + * Cleanup of automake to build with latest tools + * For more see CHANGES +- Remove upstreamed patches: + * cares-autotools.diff +- Remove patch that needs quite work and was never acceted upstream: + * 0001-cares-1.9.1-add-symbol-versioning-support.patch +- Added patches: + * 0001-Use-RPM-compiler-options.patch + +------------------------------------------------------------------- Old: ---- 0001-cares-1.9.1-add-symbol-versioning-support.patch c-ares-1.9.1.tar.gz c-ares-1.9.1.tar.gz.asc cares-autotools.diff New: ---- 0001-Use-RPM-compiler-options.patch c-ares-1.10.0.tar.gz c-ares-1.10.0.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcares2.spec ++++++ --- /var/tmp/diff_new_pack.xQeaDY/_old 2014-05-17 06:43:21.000000000 +0200 +++ /var/tmp/diff_new_pack.xQeaDY/_new 2014-05-17 06:43:21.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libcares2 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,24 @@ %define pkg_name c-ares - Name: libcares2 -Version: 1.9.1 +Version: 1.10.0 Release: 0 Summary: Library for asynchronous name resolves License: MIT Group: Development/Libraries/C and C++ Url: http://c-ares.haxx.se/ - Source0: http://c-ares.haxx.se/download/%{pkg_name}-%{version}.tar.gz Source1: http://c-ares.haxx.se/download/%{pkg_name}-%{version}.tar.gz.asc Source3: libcares2.keyring Source4: baselibs.conf -Patch4: cares-1.9.1-ocloexec.patch -Patch5: 0001-cares-1.9.1-add-symbol-versioning-support.patch -Patch6: cares-autotools.diff +Patch0: cares-1.9.1-ocloexec.patch +Patch1: 0001-Use-RPM-compiler-options.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gpg-offline BuildRequires: libtool BuildRequires: pkg-config -%if 0%{?suse_version} >= 1230 -BuildRequires: gpg-offline -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -60,21 +57,27 @@ %if 0%{?suse_version} >= 1230 %gpg_verify %{SOURCE1} %endif - %setup -q -n %{pkg_name}-%{version} -%patch4 -p1 -%patch5 -p1 -%patch -P 6 -p1 +%patch0 -p1 +%patch1 -p1 + +# Remove bogus cflags checking +sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac +sed -i -e '/XC_CHECK_USER_FLAGS/d' m4/xc-cc-check.m4 %build autoreconf -fiv -%configure --enable-symbol-hiding --enable-nonblocking --enable-shared --disable-static --with-pic -sed -i -e 's@-g0@-g@g' Makefile +%configure \ + --enable-symbol-hiding \ + --enable-nonblocking \ + --enable-shared \ + --disable-static \ + --with-pic make %{?_smp_mflags} %install -make install DESTDIR=%{buildroot} -rm -f %{buildroot}%{_libdir}/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print %post -p /sbin/ldconfig ++++++ 0001-Use-RPM-compiler-options.patch ++++++
From 7dada62a77e061c752123e672e844386ff3b01ea Mon Sep 17 00:00:00 2001 From: Stephen Gallagher
Date: Wed, 10 Apr 2013 12:32:44 -0400 Subject: [PATCH] Use RPM compiler options
--- m4/cares-compilers.m4 | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4 index 7ee8e0dbe741c1a64149a0d20b826f507b3ec620..d7708230fb5628ae80fbf1052da0d2c78ebbc160 100644 --- a/m4/cares-compilers.m4 +++ b/m4/cares-compilers.m4 @@ -143,19 +143,12 @@ AC_DEFUN([CARES_CHECK_COMPILER_GNU_C], [ gccvhi=`echo $gccver | cut -d . -f1` gccvlo=`echo $gccver | cut -d . -f2` compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` - flags_dbg_all="-g -g0 -g1 -g2 -g3" - flags_dbg_all="$flags_dbg_all -ggdb" - flags_dbg_all="$flags_dbg_all -gstabs" - flags_dbg_all="$flags_dbg_all -gstabs+" - flags_dbg_all="$flags_dbg_all -gcoff" - flags_dbg_all="$flags_dbg_all -gxcoff" - flags_dbg_all="$flags_dbg_all -gdwarf-2" - flags_dbg_all="$flags_dbg_all -gvms" - flags_dbg_yes="-g" - flags_dbg_off="-g0" - flags_opt_all="-O -O0 -O1 -O2 -O3 -Os" - flags_opt_yes="-O2" - flags_opt_off="-O0" + flags_dbg_all="" + flags_dbg_yes="" + flags_dbg_off="" + flags_opt_all="" + flags_opt_yes="" + flags_opt_off="" CURL_CHECK_DEF([_WIN32], [], [silent]) else AC_MSG_RESULT([no]) -- 1.8.1.4 ++++++ c-ares-1.9.1.tar.gz -> c-ares-1.10.0.tar.gz ++++++ ++++ 24742 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org