Accepting request 528877 from GNOME:Factory

1

OBS-URL: https://build.opensuse.org/request/show/528877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/check?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2017-09-29 09:50:34 +00:00 committed by Git OBS Bridge
commit f0e9a6112c
4 changed files with 37 additions and 8 deletions

View File

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

3
check-0.11.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Wed Sep 20 01:18:39 UTC 2017 - avvissu@yandex.by
- Update to version 0.11.0:
+ Avoid issue in unit test output checking where a shell's
built-in printf command does not work properly, but the printf
program itself is correct.
+ Emit only valid XML characters in XML logging.
+ Add LGPL header to files where it was missing.
+ Strip timestamps from examples using filterdiff if available.
+ Fix potential SIGSEGV in Check related to the disk filling up
during a test.
+ Support added for applying tags to test cases and selectively
running test cases based on tags.
+ Macros for comparing memory regions
(ck_assert_mem_eq, ck_assert_mem_ne) have been added.
+ Macros for comparing floating point numbers have been added.
+ Macros for comparing string, but allowing for NULL
(ck_assert_pstr_eq,ck_assert_pstr_ne) have been added.
+ Macros for checking if a pointer is NULL or not have been
added.
- Update the homepage and source Url to current location.
- Add libtool and makeinfo BuildRequires and use autoreconf when
building, needed as package is not bootstraped.
- Add NEWS file.
-------------------------------------------------------------------
Tue Aug 18 21:50:02 UTC 2015 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package check
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,16 +18,18 @@
Name: check
%define lname libcheck0
Version: 0.10.0
Version: 0.11.0
Release: 0
Summary: Unit Test Framework for C
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://check.sourceforge.net/
Source: http://downloads.sourceforge.net/project/check/check/0.10.0/%{name}-%{version}.tar.gz
Url: https://libcheck.github.io/check/
Source: https://github.com/libcheck/check/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: libtool
BuildRequires: makeinfo
BuildRequires: pkg-config
%description
@ -66,6 +68,7 @@ code editors and IDEs.
%setup -q
%build
autoreconf -fiv
export CFLAGS="%{optflags} -std=gnu99"
export CXXFLAGS="%{optflags} -std=gnu99"
export FFLAGS="%{optflags} -std=gnu99"
@ -74,7 +77,7 @@ make %{?_smp_mflags} docdir=%{_docdir}/%{name}
%install
%make_install docdir=%{_docdir}/%{name}
%{__cp} -a AUTHORS COPYING.LESSER THANKS TODO %{buildroot}%{_docdir}/%{name}
%{__cp} -a AUTHORS COPYING.LESSER NEWS THANKS TODO %{buildroot}%{_docdir}/%{name}
%{__rm} -f %{buildroot}%{_libdir}/*.la
# a little duplicate documentation…
%fdupes %buildroot/%_datadir