Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
8ecf8434eb
!13 【Mainline】enable make check
From: @yixiangzhike 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2023-05-30 01:13:21 +00:00
yixiangzhike
7a6fd28691 enable make check 2023-05-25 10:36:52 +08:00
openeuler-ci-bot
3502df750c !9 CUnit delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-08-13 02:01:39 +00:00
chenyanpanHW
f135cf4718
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 22:09:27 +08:00
openeuler-ci-bot
0e08effb40 !4 CUnit 原本上游代码仓已经不维护,有新的上游代码仓库,使用新的上游代码仓库。
From: @yang_zhuang_zhuang
Reviewed-by: @licihua
Signed-off-by: @licihua
2020-11-26 19:47:45 +08:00
yang_zhuang_zhuang
dfeb013c7c Use the .tar package and URL link of the new community. 2020-11-26 19:16:09 +08:00
openeuler-ci-bot
92bad0cfa3 !2 modify yaml
From: @yang_zhuang_zhuang
Reviewed-by: @overweight
Signed-off-by: @overweight
2020-09-19 17:02:10 +08:00
yang_zhuang_zhuang
cd34f333f7 modify yaml 2020-09-19 16:08:41 +08:00
openeuler-ci-bot
e5264f5994 !1 add yaml file
Merge pull request !1 from wangchen/wangchen
2020-06-22 09:50:10 +08:00
wangchen2020
cdbf991cfe add yaml file 2020-06-18 16:59:46 +08:00
4 changed files with 26 additions and 5 deletions

Binary file not shown.

View File

@ -2,13 +2,13 @@
Name: CUnit
Version: 2.1.3
Release: 21
Release: 24
Summary: A Unit Testing Framework for C
License: LGPLv2+
URL: http://cunit.sourceforge.net/
Source0: http://download.sourceforge.net/cunit/%{name}-%{_version}.tar.bz2
Source0: https://gitlab.com/cunity/cunit/-/archive/2.1-3/cunit-2.1-3.tar.bz2
BuildRequires: automake git libtool
BuildRequires: automake libtool
%description
CUnit is a lightweight system for writing, administering, and running unit tests in C
@ -30,12 +30,12 @@ This package contains the header files and libraries for CUnit development.
%package_help
%prep
%autosetup -n %{name}-%{_version} -p1 -Sgit
%autosetup -n cunit-%{_version} -p1
find -name *.c -exec chmod -x {} \;
%build
autoreconf -fi
%configure --disable-static
%configure --disable-static --enable-test
%make_build
%install
@ -48,6 +48,11 @@ for f in AUTHORS ChangeLog COPYING NEWS README TODO VERSION ; do
install -p -m0644 -D $f %{buildroot}%{_docdir}/%{name}/${f}
done
%check
pushd CUnit/Sources/Test/
./test_cunit
popd
%pre
%preun
@ -76,6 +81,18 @@ done
%{_mandir}/man3/CUnit.3*
%changelog
* Thu May 25 2023 yixiangzhike <yixiangzhike007@163.com> - 2.1.3-24
- enable make check
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.1.3-23
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Nov 25 2020 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 2.1.3-22
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Use the .tar package and URL link of the new community.
* Mon Oct 21 2019 chengquan<chengquan3@huawei.com> - 2.1.3-21
- Type:bugfix
- ID:NA

4
CUnit.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: "https://gitlab.com/cunity/cunit"
tag_prefix:
seperator:

BIN
cunit-2.1-3.tar.bz2 Normal file

Binary file not shown.