Compare commits
10 Commits
f7702e91f6
...
8ecf8434eb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ecf8434eb | ||
|
|
7a6fd28691 | ||
|
|
3502df750c | ||
|
|
f135cf4718 | ||
|
|
0e08effb40 | ||
|
|
dfeb013c7c | ||
|
|
92bad0cfa3 | ||
|
|
cd34f333f7 | ||
|
|
e5264f5994 | ||
|
|
cdbf991cfe |
Binary file not shown.
27
CUnit.spec
27
CUnit.spec
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
Name: CUnit
|
Name: CUnit
|
||||||
Version: 2.1.3
|
Version: 2.1.3
|
||||||
Release: 21
|
Release: 24
|
||||||
Summary: A Unit Testing Framework for C
|
Summary: A Unit Testing Framework for C
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://cunit.sourceforge.net/
|
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
|
%description
|
||||||
CUnit is a lightweight system for writing, administering, and running unit tests in C
|
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
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{_version} -p1 -Sgit
|
%autosetup -n cunit-%{_version} -p1
|
||||||
find -name *.c -exec chmod -x {} \;
|
find -name *.c -exec chmod -x {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%configure --disable-static
|
%configure --disable-static --enable-test
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%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}
|
install -p -m0644 -D $f %{buildroot}%{_docdir}/%{name}/${f}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
%check
|
||||||
|
pushd CUnit/Sources/Test/
|
||||||
|
./test_cunit
|
||||||
|
popd
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -76,6 +81,18 @@ done
|
|||||||
%{_mandir}/man3/CUnit.3*
|
%{_mandir}/man3/CUnit.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 21 2019 chengquan<chengquan3@huawei.com> - 2.1.3-21
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
4
CUnit.yaml
Normal file
4
CUnit.yaml
Normal 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
BIN
cunit-2.1-3.tar.bz2
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user