Accepting request 850293 from home:dimstar:branches:GNOME:Factory

Update to 3.0.4

OBS-URL: https://build.opensuse.org/request/show/850293
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsigc++3?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2020-11-26 12:26:07 +00:00 committed by Git OBS Bridge
parent 917a31c11e
commit 0f7fd36a83
4 changed files with 24 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4f4866a894bdbe053e4fb22ccc6bc4b6851fd31a4746fdd20b2cf6e87c6edb6
size 1011808

3
libsigc++-3.0.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3a37410186379df1908957e7aba7519bdcf5bcc8ed70ee8dfea9362c393d545
size 790108

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Nov 23 17:48:01 UTC 2020 - dimstar@opensuse.org
- Update to version 3.0.4:
+ Build:
- Meson build: Set default value of the 'warnings' option to
'min'.
- NMake Makefiles: Several improvements
- Update for Doxygen >= 1.8.16
+ Updated documentation.
- Switch to meson build system:
+ Add meson BuildRequires.
+ Replace configure/make/make_install macros with their meson
counterparts.
-------------------------------------------------------------------
Wed Mar 25 13:46:32 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -18,7 +18,7 @@
%define _name libsigc++
Name: libsigc++3
Version: 3.0.3
Version: 3.0.4
Release: 0
Summary: Typesafe Signal Framework for C++
License: LGPL-3.0-or-later
@ -28,6 +28,7 @@ Source0: https://download.gnome.org/sources/libsigc++/3.0/%{_name}-%{vers
Source99: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: mm-common >= 0.9.12
BuildRequires: pkgconfig
@ -71,16 +72,15 @@ of use unmatched by other C++ callback libraries.
%setup -q -n %{_name}-%{version}
%build
%configure --disable-static
%make_build
%meson
%meson_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%meson_install
%check
export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
make %{?_smp_mflags} check
%meson_test
unset MALLOC_CHECK_ MALLOC_PERTURB_
%post -n libsigc-3_0-0 -p /sbin/ldconfig
@ -93,14 +93,9 @@ unset MALLOC_CHECK_ MALLOC_PERTURB_
%files devel
%doc AUTHORS ChangeLog
%doc %{_datadir}/doc/%{_name}-3.0
%{_libdir}/libsigc-3.0.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/sigc++-3.0
%{_includedir}/sigc++-3.0/
%{_datadir}/devhelp/books/%{_name}-3.0
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books
%changelog