Hello community,

here is the log from the commit of package cmocka for openSUSE:Factory checked 
in at 2013-02-05 15:41:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cmocka (Old)
 and      /work/SRC/openSUSE:Factory/.cmocka.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cmocka", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.cmocka.new/cmocka.changes       2013-02-05 
15:41:24.000000000 +0100
@@ -0,0 +1,19 @@
+-------------------------------------------------------------------
+Tue Feb  5 10:16:53 UTC 2013 - a...@cryptomilk.org
+
+- Add a libcmocka-devel-static package for the static library.
+
+-------------------------------------------------------------------
+Mon Jan 14 10:29:40 UTC 2013 - a...@cryptomilk.org
+
+- Uploaded release tarball.
+
+-------------------------------------------------------------------
+Wed Oct 10 08:56:04 UTC 2012 - a...@cryptomilk.org
+
+- Fix building i686 on a x86_64 platform.
+
+-------------------------------------------------------------------
+Tue Jun 26 13:40:20 UTC 2012 - a...@cryptomilk.org
+
+- Initial version 0.2.0

New:
----
  baselibs.conf
  cmocka-0.2.0.tar.gz
  cmocka.changes
  cmocka.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cmocka.spec ++++++
#
# spec file for package cmocka
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


BuildRequires:  cmake
BuildRequires:  glibc-devel

Name:           cmocka
Version:        0.2.0
Release:        0
#
Summary:        Lightweight library to simplify and generalize unit tests for C
License:        Apache-2.0
Group:          Productivity/Networking/Other
Url:            http://open.cryptomilk.org/cmocka
#
Source0:        %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
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
requires the use of old compilers which makes it difficult to use some unit
testing frameworks. In addition many unit testing frameworks assume the code
being tested is an application or module that is targeted to the same platform
that will ultimately execute the test. Because of this assumption many
frameworks require the inclusion of standard C library headers in the code
module being tested which may collide with the custom or incomplete
implementation of the C library utilized by the code under test.

Cmocka only requires a test application is linked with the standard C library
which minimizes conflicts with standard C library headers. Also, CMocka tries
to avoid the use of some of the newer features of C compilers.

This results in CMocka being a relatively small library that can be used to
test a variety of exotic code. If a developer wishes to simply test an
application with the latest compiler then other unit testing frameworks may be
preferable.

This is the successor of Google's Cmockery.

%package -n libcmocka0
Summary:        Lightweight library to simplify and generalize unit tests for C
Group:          System/Libraries

%description -n libcmocka0
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
requires the use of old compilers which makes it difficult to use some unit
testing frameworks. In addition many unit testing frameworks assume the code
being tested is an application or module that is targeted to the same platform
that will ultimately execute the test. Because of this assumption many
frameworks require the inclusion of standard C library headers in the code
module being tested which may collide with the custom or incomplete
implementation of the C library utilized by the code under test.

CMocka only requires a test application is linked with the standard C library
which minimizes conflicts with standard C library headers. Also, CMocka tries
to avoid the use of some of the newer features of C compilers.

This results in CMocka being a relatively small library that can be used to
test a variety of exotic code. If a developer wishes to simply test an
application with the latest compiler then other unit testing frameworks may be
preferable.

This is the successor of Google's Cmockery.

%package -n libcmocka-devel
Summary:        Development headers for the cmocka library
Group:          Development/Libraries/C and C++
Requires:       libcmocka0 = %{version}

%description -n libcmocka-devel
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
%setup -q

%build
if test ! -e "build"; then
  mkdir build
fi
pushd build
cmake \
  -DCMAKE_C_FLAGS:STRING="%{optflags}" \
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  -DCMAKE_SKIP_RPATH=ON \
  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
  -DWITH_STATIC_LIB=ON \
%if %{_lib} == lib64
  -DLIB_SUFFIX=64 \
%endif
  %{_builddir}/%{name}-%{version}

make %{?_smp_mflags} VERBOSE=1
popd build

%install
pushd build
%makeinstall
popd

%post -n libcmocka0
/sbin/ldconfig

%postun -n libcmocka0
/sbin/ldconfig

%clean
%{__rm} -rf %{buildroot}

%files -n libcmocka0
%defattr(-,root,root)
%doc AUTHORS README ChangeLog COPYING
%{_libdir}/libcmocka.so.*

%files -n libcmocka-devel
%defattr(-,root,root)
%{_includedir}/cmocka.h
%{_libdir}/libcmocka.so

%files -n libcmocka-devel-static
%defattr(-,root,root)
%{_libdir}/libcmocka.a

%changelog
++++++ baselibs.conf ++++++
libcmocka0
    provides "libcmocka-<targettype> = <version>"
    obsoletes "libmockery-<targettype> <= <version>"
libcmocka-devel
    requires -"libcmocka-<targettype>"
    requires "libcmocka0-<targettype> = <version>"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to