OBS User unknown 2007-03-28 22:18:41 +00:00 committed by Git OBS Bridge
parent 78cc024bdb
commit fe1d626bc1
5 changed files with 85 additions and 37 deletions

View File

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

3
check-0.9.5.tar.bz2 Normal file
View File

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

View File

@ -1,11 +0,0 @@
--- src/check_pack.c
+++ src/check_pack.c
@@ -247,7 +247,7 @@
static void check_type (int type, const char *file, int line)
{
if (type < 0 || type >= CK_MSG_LAST)
- eprintf ("%s:%d:Bad message type arg", file, line);
+ eprintf ("Bad message type arg %d", file, line, type);
}
void ppack (int fdes, enum ck_msg_type type, CheckMsg *msg)

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Mar 27 12:26:58 CEST 2007 - sbrabec@suse.cz
- Updated to version 0.9.5:
* Fixed code coverage support.
* Updated manual and converted from DocBook to Texinfo.
* Added pkg-config support.
* Added Libtool support to build both static and shared
libraries.
* Updated GNU Build System to use modern Autotools.
* Added a new kind of test, looping tests.
* Added possibility to turn off timeout tests.
* Added coverage analysis for check's own unit tests.
* More fixes and changes.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 24 12:15:11 CET 2006 - sbrabec@suse.cz Fri Feb 24 12:15:11 CET 2006 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
# #
# spec file for package check (Version 0.9.3) # spec file for package check (Version 0.9.5)
# #
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -11,16 +11,13 @@
# norootforbuild # norootforbuild
Name: check Name: check
BuildRequires: docbook-utils Version: 0.9.5
Version: 0.9.3 Release: 1
Release: 4
URL: http://check.sourceforge.net/ URL: http://check.sourceforge.net/
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
License: LGPL License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Summary: Unit Test Framework for C Summary: Unit Test Framework for C
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: check-format.patch
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -33,6 +30,27 @@ code editors and IDEs.
Authors:
--------
Arien Malec <arien_malec@yahoo.com>
Fredrik Hugosson <hugo303@users.sourceforge.net>
Sven Neumann <sven@convergence.de>
%package devel
Group: Development/Libraries/C and C++
Summary: Unit Test Framework for C
Requires: %{name} = %{version}
%description devel
Check is a unit test framework for C. It features a simple interface
for defining unit tests, putting little in the way of the developer.
Tests are run in a separate address space, so Check can catch both
assertion failures and code errors that cause segmentation faults or
other signals. The output from unit tests can be used within source
code editors and IDEs.
Authors: Authors:
-------- --------
Arien Malec <arien_malec@yahoo.com> Arien Malec <arien_malec@yahoo.com>
@ -40,34 +58,60 @@ Authors:
Sven Neumann <sven@convergence.de> Sven Neumann <sven@convergence.de>
%prep %prep
%setup %setup -q
%patch
%build %build
export CFLAGS="$RPM_OPT_FLAGS -fPIC" %configure
./configure\ make %{?jobs:-j%jobs} docdir=%{_docdir}/%{name}
--prefix=/usr\
--libdir=/usr/%{_lib}
make %{?jobs:-j %jobs}
%install %install
rm -rf $RPM_BUILD_ROOT %makeinstall docdir=%{_docdir}/%{name}
make DESTDIR=$RPM_BUILD_ROOT DOCROOTDIR=%{_defaultdocdir}/%{name} install cp -a AUTHORS COPYING THANKS TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
cp AUTHORS $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post
%run_ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%run_ldconfig
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files %files
%defattr (-, root, root) %defattr (-, root, root)
%doc %{_defaultdocdir}/%{name} %doc %dir %{_docdir}/%{name}
/usr/%{_lib}/*.*a %doc %{_docdir}/%{name}/[ACNRST]*
/usr/include/* %{_libdir}/*.so.*
/usr/share/aclocal/*
%changelog -n check %files devel
%defattr (-, root, root)
%{_datadir}/aclocal/*.m4
%{_includedir}/*.h
%doc %{_infodir}/%{name}.info*
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%doc %{_docdir}/%{name}/example
%changelog
* Tue Mar 27 2007 - sbrabec@suse.cz
- Updated to version 0.9.5:
* Fixed code coverage support.
* Updated manual and converted from DocBook to Texinfo.
* Added pkg-config support.
* Added Libtool support to build both static and shared
libraries.
* Updated GNU Build System to use modern Autotools.
* Added a new kind of test, looping tests.
* Added possibility to turn off timeout tests.
* Added coverage analysis for check's own unit tests.
* More fixes and changes.
* Fri Feb 24 2006 - sbrabec@suse.cz * Fri Feb 24 2006 - sbrabec@suse.cz
- Fixed format string error (David Binderman, #143293). - Fixed format string error (David Binderman, #143293).
* Wed Jan 25 2006 - mls@suse.de * Wed Jan 25 2006 - mls@suse.de