[check] New upstream version. Drop -volatile patch, no longer needed. Update time-related configure fix agai
Jerry James
jjames at fedoraproject.org
Mon Jul 28 18:02:24 UTC 2014
commit 0cc55154847f8aae9510da9ea0375ff209467310
Author: Jerry James <jamesjer at betterlinux.com>
Date: Mon Jul 28 12:02:06 2014 -0600
New upstream version.
Drop -volatile patch, no longer needed.
Update time-related configure fix again.
.gitignore | 4 +---
check-0.9.13-volatile.patch | 11 -----------
check.spec | 20 +++++++++++++-------
sources | 2 +-
4 files changed, 15 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 45b7655..47c7b42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,3 @@
-/check-0.9.9.tar.gz
-/check-0.9.10.tar.gz
-/check-0.9.11.tar.gz
/check-0.9.12.tar.gz
/check-0.9.13.tar.gz
+/check-0.9.14.tar.gz
diff --git a/check.spec b/check.spec
index bcd6118..cb13db4 100644
--- a/check.spec
+++ b/check.spec
@@ -1,6 +1,6 @@
Name: check
-Version: 0.9.13
-Release: 2%{?dist}
+Version: 0.9.14
+Release: 1%{?dist}
Summary: A unit test framework for C
Source0: http://downloads.sourceforge.net/check/%{name}-%{version}.tar.gz
Group: Development/Tools
@@ -8,8 +8,6 @@ License: LGPLv2+
URL: http://check.sourceforge.net/
# Only needed for autotools in Fedora 21+
Patch0: %{name}-0.9.11-info-in-builddir.patch
-# Result variable might be clobbered by longjmp()
-Patch1: %{name}-0.9.13-volatile.patch
BuildRequires: pkgconfig, libtool, autoconf, automake, subunit-devel
BuildRequires: texinfo
Requires(post): info
@@ -53,11 +51,14 @@ programs suitable for use with the Check unit test framework.
%if 0%{?fedora} >= 21
%patch0 -p1 -b .info-in-builddir
%endif
-%patch1
-autoreconf -ivf
# Fix detection of various time-related function declarations
-sed -i '/"ac_cv_have_decl_clock_gettime"/iac_includes_default="$ac_includes_default\n#include <time.h>\n#include <sys/time.h>"' configure
+sed -e '/DECLS(\[a/s|)|,,,[AC_INCLUDES_DEFAULT\n[#include <time.h>\n #include <sys/time.h>]]&|' \
+ -e '/DECLS(\[a/s/\(getline\)\( gettimeofday\)/\1,\2/' \
+ -i configure.ac
+
+# Regenerate configure due to patch 0
+autoreconf -ivf
%build
%configure
@@ -119,6 +120,11 @@ fi
%{_mandir}/man1/checkmk.1*
%changelog
+* Mon Jul 28 2014 Jerry James <loganjerry at gmail.com> - 0.9.14-1
+- New upstream version
+- Drop -volatile patch, no longer needed
+- Update time-related configure fix again
+
* Mon Jun 9 2014 Jerry James <loganjerry at gmail.com> - 0.9.13-2
- Add -volatile patch to fix test failure
- Update time-related configure fix
diff --git a/sources b/sources
index 996d9c1..12dd0ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-95530868f81a9496b2518fd2b713008a check-0.9.13.tar.gz
+38263d115d784c17aa3b959ce94be8b8 check-0.9.14.tar.gz
More information about the scm-commits
mailing list