Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
2
.cmocka.metadata
Normal file
2
.cmocka.metadata
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
64241788a572f0e578b8460597e8a851ce00079e SOURCES/cmocka-1.1.8.tar.xz
|
||||||
|
3f2ab0bca02893402ba0ad172a6bd44456a65f86 SOURCES/cmocka.keyring
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,2 @@
|
|||||||
SOURCES/cmocka-1.1.5.tar.xz
|
SOURCES/cmocka-1.1.8.tar.xz
|
||||||
SOURCES/cmocka.keyring
|
SOURCES/cmocka.keyring
|
||||||
/cmocka-1.1.5.tar.xz
|
|
||||||
/cmocka.keyring
|
|
||||||
|
|||||||
16
SOURCES/cmocka-1.1.8.tar.xz.asc
Normal file
16
SOURCES/cmocka-1.1.8.tar.xz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmh4oE4ACgkQfuD8TcwB
|
||||||
|
Tj2auhAAld/vCXOnL2A6A18uDn4/gTFNAL/DS5Y+yOqW+spVIdI58+sjIhtwXN9s
|
||||||
|
39ELosau9eth1AhxatIEDJA4IRfJ2pYD7CNE04gGBDYhzWATwVTdAhefOb7Une3l
|
||||||
|
ztXhqyArHTKjMRH3K92WXCOEw1TIhMCuvffFX2oqnU7y8Jl/4pjvmRVLm8dHVopj
|
||||||
|
FT0kPbLKbjBismzEjREiljPhwl8teuxKial7TN69eH/NSDJyO9OOIu7z39SpsoP+
|
||||||
|
OCEx6pS/eMxRPQ6MpJiKVNET5qk2M6J5K8EFnCLOidgluBAqkbFB98/aE1VCmJYK
|
||||||
|
1ysthbC3Y4ryEvD0qNA4IxcOCyHE6NcnsfXVLYWlzyEXlsILBgmQ434UH2hsFjTA
|
||||||
|
+Kzfddr9VIhiAX3/QwC/53TKv/hWWaCL4jdvkbNn/K2WQjJepDl6L3bSKL/r45jp
|
||||||
|
d5BXYQ5+JO7kvib8Yhb21MYosQaK4+fSTKa9jsHI3qblNDiy59FqeZN833qJd3CO
|
||||||
|
Jk71zDtk2mOZdjxNHtt9MdIFZpZhXOVCTpbVSX1cBzWzL3ybsKNRouzYg6HwI0Ph
|
||||||
|
C3a4gMuh4GBswS1VTrMgQUgh7+igc2B8Fgq+6GKV+g45hGDYL5q9NLq7MuC/T1UH
|
||||||
|
wfSkvvjYn3NelsxAJTUfVe+9w4x/IVLkmfrB+LuKaAwlLlyumvE=
|
||||||
|
=gQtg
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
@ -1,8 +1,8 @@
|
|||||||
Name: cmocka
|
Name: cmocka
|
||||||
Version: 1.1.5
|
Version: 1.1.8
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: ASL 2.0
|
License: Apache-2.0
|
||||||
Summary: An elegant unit testing framework for C with support for mock objects
|
Summary: An elegant unit testing framework for C with support for mock objects
|
||||||
URL: https://cmocka.org
|
URL: https://cmocka.org
|
||||||
|
|
||||||
@ -16,6 +16,8 @@ BuildRequires: doxygen
|
|||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
|
|
||||||
|
Obsoletes: libcmocka-static < %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
There are a variety of C unit testing frameworks available however many of them
|
There are a variety of C unit testing frameworks available however many of them
|
||||||
are fairly complex and require the latest compiler technology. Some development
|
are fairly complex and require the latest compiler technology. Some development
|
||||||
@ -65,12 +67,6 @@ preferable.
|
|||||||
|
|
||||||
This is the successor of Google's Cmockery.
|
This is the successor of Google's Cmockery.
|
||||||
|
|
||||||
%package -n libcmocka-static
|
|
||||||
Summary: Lightweight library to simplify and generalize unit tests for C
|
|
||||||
|
|
||||||
%description -n libcmocka-static
|
|
||||||
Static version of the cmocka library.
|
|
||||||
|
|
||||||
%package -n libcmocka-devel
|
%package -n libcmocka-devel
|
||||||
Summary: Development headers for the cmocka library
|
Summary: Development headers for the cmocka library
|
||||||
Requires: libcmocka = %{version}-%{release}
|
Requires: libcmocka = %{version}-%{release}
|
||||||
@ -80,47 +76,46 @@ Conflicts: cmockery2-devel
|
|||||||
%description -n libcmocka-devel
|
%description -n libcmocka-devel
|
||||||
Development headers for the cmocka unit testing library.
|
Development headers for the cmocka unit testing library.
|
||||||
|
|
||||||
|
%package -n cmocka-doc
|
||||||
|
Summary: API documentation for the cmocka unit testing framework
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n cmocka-doc
|
||||||
|
This package provides the API documentation for the cmocka unit testing
|
||||||
|
framework.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if test ! -e "obj"; then
|
# This package uses -Wl,-wrap to wrap calls at link time. This is incompatible
|
||||||
mkdir obj
|
# with LTO.
|
||||||
fi
|
# Disable LTO
|
||||||
pushd obj
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
%cmake \
|
%cmake \
|
||||||
-DWITH_STATIC_LIB=ON \
|
-DWITH_STATIC_LIB=ON \
|
||||||
-DWITH_CMOCKERY_SUPPORT=ON \
|
-DWITH_CMOCKERY_SUPPORT=ON \
|
||||||
-DUNIT_TESTING=ON \
|
-DUNIT_TESTING=ON
|
||||||
%{_builddir}/%{name}-%{version}
|
|
||||||
|
|
||||||
make %{?_smp_mflags} VERBOSE=1
|
%cmake_build
|
||||||
make docs
|
%__cmake --build %{__cmake_builddir} --target docs
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd obj
|
%cmake_install
|
||||||
make DESTDIR=%{buildroot} install
|
|
||||||
popd
|
|
||||||
ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so
|
ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libcmocka
|
%ldconfig_scriptlets -n libcmocka
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd obj
|
%ctest
|
||||||
ctest --output-on-failure
|
|
||||||
popd
|
|
||||||
|
|
||||||
%files -n libcmocka
|
%files -n libcmocka
|
||||||
%doc AUTHORS README.md ChangeLog
|
%doc AUTHORS README.md ChangeLog
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libcmocka.so.*
|
%{_libdir}/libcmocka.so.*
|
||||||
|
|
||||||
%files -n libcmocka-static
|
|
||||||
%{_libdir}/libcmocka-static.a
|
|
||||||
|
|
||||||
%files -n libcmocka-devel
|
%files -n libcmocka-devel
|
||||||
%doc obj/doc/html
|
|
||||||
%{_includedir}/cmocka.h
|
%{_includedir}/cmocka.h
|
||||||
%{_includedir}/cmocka_pbc.h
|
%{_includedir}/cmocka_pbc.h
|
||||||
%{_includedir}/cmockery/cmockery.h
|
%{_includedir}/cmockery/cmockery.h
|
||||||
@ -128,10 +123,47 @@ popd
|
|||||||
%{_libdir}/libcmocka.so
|
%{_libdir}/libcmocka.so
|
||||||
%{_libdir}/libcmockery.so
|
%{_libdir}/libcmockery.so
|
||||||
%{_libdir}/pkgconfig/cmocka.pc
|
%{_libdir}/pkgconfig/cmocka.pc
|
||||||
%{_libdir}/cmake/cmocka/cmocka-config-version.cmake
|
%{_libdir}/cmake/cmocka/cmocka-*.cmake
|
||||||
%{_libdir}/cmake/cmocka/cmocka-config.cmake
|
|
||||||
|
%files -n cmocka-doc
|
||||||
|
%doc %{__cmake_builddir}/doc/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 18 2026 Pavel Filipensky <pfilipen@redhat.com> - version 1.1.8
|
||||||
|
- Update to version 1.1.8
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.5-11
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Thu Jun 24 2021 Andreas Schneider <asn@redhat.com> - 1.1.5-10
|
||||||
|
- resolves: rhbz#1915369 - Split out a cmocka-doc package
|
||||||
|
|
||||||
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.5-9
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 05 2020 Andreas Schneider <asn@redhat.com> - 1.1.5-7
|
||||||
|
- Correctly build with new cmake macros
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-6
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 1 2020 Jeff Law <law@redhat.com> - 1.1.5-4
|
||||||
|
- Disable LTO
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Mar 28 2019 Andreas Schneider <asn@redhat.com> - 1.1.5-1
|
* Thu Mar 28 2019 Andreas Schneider <asn@redhat.com> - 1.1.5-1
|
||||||
- Update to version 1.1.5
|
- Update to version 1.1.5
|
||||||
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCAAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAlycwqUACgkQfuD8TcwB
|
|
||||||
Tj3XJA/+PO2eS4q2+HzjspRipT6V+CWx6SzRV+sy7NTysbvSqQqjY1kG3aYmmbXG
|
|
||||||
YqxaAoinyRwAhc8DhZkiz3huTjeg203ab6rr9sjKvMXKVbgb9U1Fepx17GWMLIuw
|
|
||||||
fgMDlAmyLxyS/pYCqVLG0DYXewZIY9FGWCL9l8jMx0IHdhvIFOTSn9IO5M/+nVwl
|
|
||||||
LLiIWBYgHX5SpW47a2HtFmuwDq/O4DFcN4eKQwxmBTrQrcEVmZOY8XBqj+3PqtdN
|
|
||||||
TOZbs2jUrNeTv+JC/EMaTDCG1PctH/QHqEsVQKZmoGfNiYHKIu7kYdVODu1O9PRl
|
|
||||||
vXc8Zk2DyHwMltaEQgo/foRz/swqQ9Tx18MsVyDEUJqEGN1GNMx+H1fYtaV/drYy
|
|
||||||
8DMAUkvYkejr3aHNA7rHwvEuPOo8MdHHpTgFLtD5Ei4rRudAGCHJ9zkxoVyoB46j
|
|
||||||
6bOeUyqEfIUa6Dko5Mv4s4C0K9msUL6hjZdrLHI+m8HCLPaSElXcYWrE877zpdIz
|
|
||||||
wKjyBFWPr1UzsE5FgJ9JF92Clsk9ap3iX8CP6ye3ZSYWpFwwbWosMx0C3cYVtElt
|
|
||||||
gVmfhRnp2Yst2BRc7wTmxdxTgsfS2FM+5+rCt4uLU74UFADgMf+afXcyCp9/vxL2
|
|
||||||
M2pGgWRHcmCHiKXpTft7crA80DWiYuauxjyRc9lc+gKelbqBaXc=
|
|
||||||
=C+Zt
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
|
||||||
2
sources
2
sources
@ -1,2 +0,0 @@
|
|||||||
SHA512 (cmocka-1.1.5.tar.xz) = cad7f04757183d004f6eaad39036fc0e24c5e0e987f80e85bc43bc66dba22389cb02b08e25531cc28a541d0a24a86b29be134a2d6fc339128e87d66952f502bd
|
|
||||||
SHA512 (cmocka.keyring) = 94e0b3873184c3c5bfed321a8cd70696c0d6a0f357ba3dd7ba0e68e3f2ee270c62fa3138b3dc5a869c15e9f6e0e4e14e9d4a060863b1c846a49082c05b68fc71
|
|
||||||
Loading…
Reference in New Issue
Block a user