Update to version 1.1.2

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=34
This commit is contained in:
Andreas Schneider 2018-08-29 15:16:02 +00:00 committed by Git OBS Bridge
parent 2b1f62d17c
commit a4cec5245a
6 changed files with 38 additions and 15 deletions

View File

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

3
cmocka-1.1.2.tar.xz Normal file
View File

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

16
cmocka-1.1.2.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAluGtM8ACgkQfuD8TcwB
Tj0svQ/8D/vFldh9hD+jo2VQbIqBMJ5dAmVZjD1CakTI93aGzQCa1gysINKiRk2o
r+Dwk3sVQus27x8fKvTeOWKmpRmm3089OuZgyFEFmIE0W6V4D5o02bmnmcRzeA4A
31LivzEDBsSIQl3Ael8dZ+E5Nd0tOZ+YEqPUCsahD1kPeHBLXQMu5LJwFWgbgWzK
h11sZ7poeJrx2eROzIQCj4f2BjCOJ7LVqdcI/c/pihHU0aj2lr269xp0mNUhd5lT
GuNKK5m3YHFlQZi0sk4wesWdzrOv96Gy5tuqvvSwhd16pu5AFbCaVsUPq/G86wi4
4JMixyAKBh8on4rIRWDoczZJhhklaSgWYSweVEIkDo6xR9wp0HmxCfNguGPc8mSX
1aBkYo9Nh6EpK2HRHVg1aDJHgd9zdY24iJtNG7njwn+Z0gO27Yi26LRnM6bmYLqh
44vWDJ6SKXUSnVtvwxgP5r4rD0Cbr4LNbIIywXjJm6OhWSGUPyenUiyCX/6tk+m7
TA7Yuqhgd7rDZuqqOQYozomieZabUQ5b1byc6PF4emQ999KFVGPS4WR85V1DiheK
HuetTo67gICdZUz2KQeSMd34gf78Rnff87JRHo8SgCcNjSqzHWML/Um1N+3loe2n
iUclSFjebFf13KVVC1Fk7HhdXko8kfXKV4ksxJC81v0cO9gxVzk=
=H04h
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Aug 29 15:15:03 UTC 2018 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.1.2
* Added function to filter tests (cmocka_set_test_filter)
* Added new mocking example (uptime)
* Fixed fixture error reporting
* Fixed compiler flags detection
* Some improvement for API documentation
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 7 14:33:00 UTC 2017 - asn@cryptomilk.org Fri Apr 7 14:33:00 UTC 2017 - asn@cryptomilk.org

BIN
cmocka.keyring Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
# #
# spec file for package cmocka # spec file for package cmocka
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,16 @@
Name: cmocka Name: cmocka
Version: 1.1.1 Version: 1.1.2
Release: 0 Release: 0
Summary: Lightweight library to simplify and generalize unit tests for C Summary: Lightweight library to simplify and generalize unit tests for C
License: Apache-2.0 License: Apache-2.0
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
Url: http://cmocka.org Url: http://cmocka.org
Source0: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz Source0: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
Source3: baselibs.conf
BuildRequires: cmake BuildRequires: cmake
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: pkg-config BuildRequires: pkg-config
@ -91,7 +93,7 @@ Requires: libcmocka-devel = %{version}
Static cmocka unit testing library. Static cmocka unit testing library.
%prep %prep
%setup -q %autosetup -p1
%build %build
%cmake \ %cmake \
@ -107,10 +109,7 @@ make %{?_smp_mflags}
%check %check
pushd build pushd build
make %{?_smp_mflags} test || { ctest --output-on-failure
cat Testing/Temporary/LastTest.log;
exit 1;
}
popd popd
%post -n libcmocka0 -p /sbin/ldconfig %post -n libcmocka0 -p /sbin/ldconfig
@ -118,12 +117,11 @@ popd
%postun -n libcmocka0 -p /sbin/ldconfig %postun -n libcmocka0 -p /sbin/ldconfig
%files -n libcmocka0 %files -n libcmocka0
%defattr(-,root,root) %doc AUTHORS README.md ChangeLog
%doc AUTHORS README ChangeLog COPYING %license COPYING
%{_libdir}/libcmocka.so.* %{_libdir}/libcmocka.so.*
%files -n libcmocka-devel %files -n libcmocka-devel
%defattr(-,root,root)
%{_includedir}/cmocka.h %{_includedir}/cmocka.h
%{_includedir}/cmocka_pbc.h %{_includedir}/cmocka_pbc.h
%dir %{_includedir}/cmockery %dir %{_includedir}/cmockery
@ -136,7 +134,6 @@ popd
%{_libdir}/cmake/cmocka/cmocka-config.cmake %{_libdir}/cmake/cmocka/cmocka-config.cmake
%files -n libcmocka-devel-static %files -n libcmocka-devel-static
%defattr(-,root,root)
%{_libdir}/libcmocka.a %{_libdir}/libcmocka.a
%changelog %changelog