This commit is contained in:
parent
78cc024bdb
commit
fe1d626bc1
@ -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
3
check-0.9.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f9309b28a1ab70886be0d7233cd131da699a47cee5c278197b648d62ee792c4
|
||||
size 391315
|
@ -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)
|
@ -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
|
||||
|
||||
|
90
check.spec
90
check.spec
@ -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
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -11,16 +11,13 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: check
|
||||
BuildRequires: docbook-utils
|
||||
Version: 0.9.3
|
||||
Release: 4
|
||||
Version: 0.9.5
|
||||
Release: 1
|
||||
URL: http://check.sourceforge.net/
|
||||
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
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch: check-format.patch
|
||||
Autoreqprov: on
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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:
|
||||
--------
|
||||
Arien Malec <arien_malec@yahoo.com>
|
||||
@ -40,34 +58,60 @@ Authors:
|
||||
Sven Neumann <sven@convergence.de>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
./configure\
|
||||
--prefix=/usr\
|
||||
--libdir=/usr/%{_lib}
|
||||
make %{?jobs:-j %jobs}
|
||||
%configure
|
||||
make %{?jobs:-j%jobs} docdir=%{_docdir}/%{name}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT DOCROOTDIR=%{_defaultdocdir}/%{name} install
|
||||
cp AUTHORS $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
||||
%makeinstall docdir=%{_docdir}/%{name}
|
||||
cp -a AUTHORS COPYING THANKS TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%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
|
||||
%defattr (-, root, root)
|
||||
%doc %{_defaultdocdir}/%{name}
|
||||
/usr/%{_lib}/*.*a
|
||||
/usr/include/*
|
||||
/usr/share/aclocal/*
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/[ACNRST]*
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%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
|
||||
- Fixed format string error (David Binderman, #143293).
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user