Add a libcmocka-devel-static package for the static library.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=3
This commit is contained in:
Andreas Schneider 2013-02-05 10:51:47 +00:00 committed by Git OBS Bridge
parent 85ca97420c
commit b2c381ff2b
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 5 10:16:53 UTC 2013 - asn@cryptomilk.org
- Add a libcmocka-devel-static package for the static library.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 14 10:29:40 UTC 2013 - asn@cryptomilk.org Mon Jan 14 10:29:40 UTC 2013 - asn@cryptomilk.org

View File

@ -87,6 +87,14 @@ Requires: libcmocka0 = %{version}
%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 libcmocka-devel-static
Summary: Static cmocka library
Group: Development/Libraries/C and C++
Requires: libcmocka-devel = %{version}
%description -n libcmocka-devel-static
Static cmocka unit testing library.
%prep %prep
%setup -q %setup -q
@ -132,6 +140,9 @@ popd
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/cmocka.h %{_includedir}/cmocka.h
%{_libdir}/libcmocka.so %{_libdir}/libcmocka.so
%files -n libcmocka-devel-static
%defattr(-,root,root)
%{_libdir}/libcmocka.a %{_libdir}/libcmocka.a
%changelog %changelog