diff --git a/libsigc++-2.2.10.tar.bz2 b/libsigc++-2.2.10.tar.bz2 deleted file mode 100644 index abfdccc..0000000 --- a/libsigc++-2.2.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3d810c2ad469edfb2d4db29643bef189b7613019eadbd4a72823af3c73c959c -size 3307460 diff --git a/libsigc++-2.2.11.tar.xz b/libsigc++-2.2.11.tar.xz new file mode 100644 index 0000000..9428e27 --- /dev/null +++ b/libsigc++-2.2.11.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9834045f74f56752c2c6b3cdc195c30ab8314ad22dc8e626d6f67f940f1e4957 +size 3287824 diff --git a/libsigc++2.changes b/libsigc++2.changes index b968ae9..d2ac362 100644 --- a/libsigc++2.changes +++ b/libsigc++2.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Sep 24 07:57:39 UTC 2012 - dimstar@opensuse.org + +- Update to version 2.2.11: + + Fix comma operator in libsigc++ lambda expressions (bgo#342911) + + Added SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE + (bgo#672555) + + Use std::size_t and std::ptrdiff_t instead + + Fix 'make check' with gcc 4.7. + + Enable test_lambda in 'make check' (bgo#669128). +- Clean spec-file using spec-cleaner. + ------------------------------------------------------------------- Mon Jul 25 11:01:18 CEST 2011 - vuntz@opensuse.org diff --git a/libsigc++2.spec b/libsigc++2.spec index 00b9f34..8930087 100644 --- a/libsigc++2.spec +++ b/libsigc++2.spec @@ -1,7 +1,7 @@ # # spec file for package libsigc++2 # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,20 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: libsigc++2 %define _name libsigc++ -BuildRequires: gcc-c++ pkg-config -Version: 2.2.10 -Release: 1 -Group: System/Libraries -License: LGPL-2.1+ +Version: 2.2.11 +Release: 0 Summary: Typesafe Signal Framework for C++ +License: LGPL-2.1+ +Group: System/Libraries Url: http://libsigc.sourceforge.net/ -Source: http://download.gnome.org/sources/libsigc++/2.2/%{_name}-%{version}.tar.bz2 +Source: http://download.gnome.org/sources/libsigc++/2.2/%{_name}-%{version}.tar.xz Source99: baselibs.conf +BuildRequires: gcc-c++ +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,9 +39,8 @@ adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries. %package -n libsigc-2_0-0 -License: LGPL-2.1+ -Group: System/Libraries Summary: Typesafe Signal Framework for C++ +Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} @@ -55,10 +53,10 @@ adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries. %package devel -License: LGPL-2.1+ -Group: Development/Libraries/C and C++ Summary: Typesafe Signal Framework for C++ -Requires: libsigc-2_0-0 = %{version} libstdc++-devel +Group: Development/Libraries/C and C++ +Requires: libsigc-2_0-0 = %{version} +Requires: libstdc++-devel %description devel This library implements a full callback system for use in widget @@ -75,20 +73,17 @@ of use unmatched by other C++ callback libraries. # FIXME: Cannot autoreconf, bad templates: #ACLOCAL="aclocal -I scripts" autoreconf -f -i %configure --disable-static --with-pic -%{__make} %{?jobs:-j%jobs} +make %{?_smp_mflags} + +%install +%make_install +rm -f %{buildroot}%{_libdir}/*.la %check export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) -%{__make} check +make check unset MALLOC_CHECK_ MALLOC_PERTURB_ -%install -%makeinstall -rm -f %{buildroot}%{_libdir}/*.la - -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libsigc-2_0-0 -p /sbin/ldconfig %postun -n libsigc-2_0-0 -p /sbin/ldconfig