OBS User unknown 2007-01-15 23:06:52 +00:00 committed by Git OBS Bridge
commit 78cc024bdb
7 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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

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

11
check-format.patch Normal file
View File

@ -0,0 +1,11 @@
--- 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)

21
check.changes Normal file
View File

@ -0,0 +1,21 @@
-------------------------------------------------------------------
Fri Feb 24 12:15:11 CET 2006 - sbrabec@suse.cz
- Fixed format string error (David Binderman, #143293).
-------------------------------------------------------------------
Wed Jan 25 21:34:56 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Dec 12 16:05:52 CET 2005 - sbrabec@suse.cz
- Updated to version 0.9.3.
- Build with -fPIC.
-------------------------------------------------------------------
Mon May 30 12:40:08 CEST 2005 - sbrabec@suse.cz
- New SuSE package, version 0.9.2.

79
check.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package check (Version 0.9.3)
#
# Copyright (c) 2006 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: check
BuildRequires: docbook-utils
Version: 0.9.3
Release: 4
URL: http://check.sourceforge.net/
Group: Development/Libraries/C and C++
License: LGPL
Summary: Unit Test Framework for C
Source: %{name}-%{version}.tar.bz2
Patch: check-format.patch
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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>
Fredrik Hugosson <hugo303@users.sourceforge.net>
Sven Neumann <sven@convergence.de>
%prep
%setup
%patch
%build
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
./configure\
--prefix=/usr\
--libdir=/usr/%{_lib}
make %{?jobs:-j %jobs}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT DOCROOTDIR=%{_defaultdocdir}/%{name} install
cp AUTHORS $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%files
%defattr (-, root, root)
%doc %{_defaultdocdir}/%{name}
/usr/%{_lib}/*.*a
/usr/include/*
/usr/share/aclocal/*
%changelog -n check
* Fri Feb 24 2006 - sbrabec@suse.cz
- Fixed format string error (David Binderman, #143293).
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 - sbrabec@suse.cz
- Updated to version 0.9.3.
- Build with -fPIC.
* Mon May 30 2005 - sbrabec@suse.cz
- New SuSE package, version 0.9.2.

0
ready Normal file
View File