lpabon pushed to cmockery2 (f20). "Release 1.3.7 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 20:20:43 UTC 2015


>From b24234f9a833527c0cc70615150b59132fe33535 Mon Sep 17 00:00:00 2001
From: Luis Pabon <lpabon at redhat.com>
Date: Mon, 24 Mar 2014 15:01:10 -0400
Subject: Release 1.3.7 Signed-off-by: Luis Pabon <lpabon at redhat.com>


diff --git a/.gitignore b/.gitignore
index e69de29..286f291 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cmockery2-1.3.7.tar.gz
diff --git a/cmockery2.spec b/cmockery2.spec
new file mode 100644
index 0000000..8990d39
--- /dev/null
+++ b/cmockery2.spec
@@ -0,0 +1,106 @@
+Name:           cmockery2
+Summary:        Lightweight C unit testing framework
+Version:        1.3.7
+Release:        1%{?dist}
+Group:          System Environment/Libraries
+URL:            https://github.com/lpabon/%{name}
+License:        ASL 2.0
+Source0:        https://github.com/lpabon/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
+Buildroot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildRequires:    automake libtool
+
+%description
+Cmockery tests are compiled into a stand-alone executable and linked
+with the cmockery library, the standard C library and module being
+tested. Any symbols external to the module being tested should be
+mocked - replaced with functions that return values determined by
+the test - within the test application. Even though significant
+differences may exist between the target execution environment of a
+code module and the environment used to test the code the unit
+testing is still valid since its goal is to test the logic of a
+code modules at a functional level and not necessarily all of its
+interactions with the target execution environment.
+
+Other features:
+* Lightweight C Unit test with mocking support
+* JUnit XML report output which can be used with Jenkins
+* Provides design-by-contract support
+
+This project is a successor of http://code.google.com/p/cmockery-staging/
+which is a successor of Google's http://code.google.com/p/cmockery/.
+
+%package devel
+Summary:        Lightweight C unit testing framework
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Cmockery tests are compiled into a stand-alone executable and linked
+with the Cmockery library, the standard C library and module being
+tested. Any symbols external to the module being tested should be
+mocked - replaced with functions that return values determined by
+the test - within the test application. Even though significant
+differences may exist between the target execution environment of a
+code module and the environment used to test the code the unit
+testing is still valid since its goal is to test the logic of a
+code modules at a functional level and not necessarily all of its
+interactions with the target execution environment.
+
+Other features:
+* Lightweight C Unit test with mocking support
+* JUnit XML report output which can be used with Jenkins
+* Provides design-by-contract support
+
+This project is a successor of http://code.google.com/p/cmockery-staging/
+which is a successor of Google's http://code.google.com/p/cmockery/.
+
+Package provides necessary headers for C unit test development
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure
+make %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%if ( 0%{?rhel} && 0%{?rhel} < 6 )
+#EL5 does not have the make_install macro
+make install DESTDIR=%{buildroot}
+%else
+%make_install
+%endif
+
+%check
+make check
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%{_docdir}/cmockery*
+%{_libdir}/libcmockery.so.*
+
+%files devel
+%{_includedir}/cmockery*
+%{_libdir}/libcmockery.so
+%exclude %{_libdir}/libcmockery.a
+%exclude %{_libdir}/libcmockery.la
+
+%changelog
+* Mon Mar 24 2014 Luis Pabon, Jr. <lpabon at redhat.com> - 1.3.7-1
+- Fixed memory check functions
+- Added new memory unit test
+
+* Fri Mar 21 2014 Luis Pabon, Jr. <lpabon at redhat.com> - 1.3.6-1
+- PPC fixes
+
+* Thu Mar 13 2014 Luis Pabon, Jr. <lpabon at redhat.com> - 1.3.4-1
+- Initial Fedora release
+
diff --git a/sources b/sources
index e69de29..3ba8793 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+37a8b551b6b4b6df8a4f5e5a2399ae0b  cmockery2-1.3.7.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/cmockery2.git/commit/?h=f20&id=b24234f9a833527c0cc70615150b59132fe33535


More information about the scm-commits mailing list