Compare commits
No commits in common. "8ecf8434eb0265fad52799c2b46270717c7807b7" and "f7702e91f6ec6ccd8ba895865ea0623805f30f1c" have entirely different histories.
8ecf8434eb
...
f7702e91f6
BIN
CUnit-2.1-3.tar.bz2
Normal file
BIN
CUnit-2.1-3.tar.bz2
Normal file
Binary file not shown.
27
CUnit.spec
27
CUnit.spec
@ -2,13 +2,13 @@
|
||||
|
||||
Name: CUnit
|
||||
Version: 2.1.3
|
||||
Release: 24
|
||||
Release: 21
|
||||
Summary: A Unit Testing Framework for C
|
||||
License: LGPLv2+
|
||||
URL: http://cunit.sourceforge.net/
|
||||
Source0: https://gitlab.com/cunity/cunit/-/archive/2.1-3/cunit-2.1-3.tar.bz2
|
||||
Source0: http://download.sourceforge.net/cunit/%{name}-%{_version}.tar.bz2
|
||||
|
||||
BuildRequires: automake libtool
|
||||
BuildRequires: automake git 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 cunit-%{_version} -p1
|
||||
%autosetup -n %{name}-%{_version} -p1 -Sgit
|
||||
find -name *.c -exec chmod -x {} \;
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure --disable-static --enable-test
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -48,11 +48,6 @@ 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
|
||||
@ -81,18 +76,6 @@ popd
|
||||
%{_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
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: git
|
||||
src_repo: "https://gitlab.com/cunity/cunit"
|
||||
tag_prefix:
|
||||
seperator:
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user