]> git.pld-linux.org Git - packages/libsigc++.git/commitdiff
- updated to 2.10.0 auto/th/libsigc++-2.10.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Dec 2016 18:59:29 +0000 (19:59 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Dec 2016 18:59:29 +0000 (19:59 +0100)
- added tests bcond

libsigc++.spec

index 2e2d451fa3a5525a8cafc4ca66b1aab71e1a95b2..fb9b344c6b2637efdd5659028c2f20abb4cba25b 100644 (file)
@@ -1,24 +1,25 @@
 #
 # Conditional build:
 %bcond_without static_libs     # don't build static library
+%bcond_without tests           # check target
 #
 Summary:       The Typesafe Signal Framework for C++
 Summary(pl.UTF-8):     Środowisko sygnałów z kontrolą typów dla C++
 Name:          libsigc++
-Version:       2.8.0
+Version:       2.10.0
 Release:       1
 Epoch:         1
 License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.8/%{name}-%{version}.tar.xz
-# Source0-md5: 3d26acbc813fa54edd4401ce1a981677
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.10/%{name}-%{version}.tar.xz
+# Source0-md5: 70bcbde2c900e4925d6ef4bf50954195
 URL:           http://libsigc.sourceforge.net/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.9
 BuildRequires: libstdc++-devel >= 6:4.6
 BuildRequires: libtool >= 2:2.0
 BuildRequires: m4
-BuildRequires: mm-common >= 0.9.8
+BuildRequires: mm-common >= 0.9.10
 BuildRequires: perl-base
 BuildRequires: pkgconfig
 BuildRequires: tar >= 1:1.22
@@ -94,8 +95,13 @@ Szczegółowa dokumentacja dla libsigc++.
 %{__autoconf}
 %{__automake}
 %configure \
+       --disable-silent-rules \
        %{?with_static_libs:--enable-static}
-%{__make} -j1 all check
+%{__make}
+
+%if %{with tests}
+%{__make} check
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.272959 seconds and 4 git commands to generate.