This commit is contained in:
Tom Callaway 2016-12-21 16:47:38 -05:00
parent 421fa70ac5
commit 79fb554a81
4 changed files with 26 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/check-0.9.14.tar.gz
/check-0.10.0.tar.gz
/0.10.0.tar.gz
/0.11.0.tar.gz

View File

@ -1,8 +1,8 @@
diff -up check-0.10.0/configure.ac.info-in-builddir check-0.10.0/configure.ac
--- check-0.10.0/configure.ac.info-in-builddir 2015-08-02 13:31:25.000000000 -0600
+++ check-0.10.0/configure.ac 2015-08-06 20:00:00.000000000 -0600
@@ -23,9 +23,9 @@
AC_CONFIG_AUX_DIR([build-aux])
diff -up check-0.11.0/configure.ac.info-in-builddir check-0.11.0/configure.ac
--- check-0.11.0/configure.ac.info-in-builddir 2016-12-21 15:36:18.415103323 -0500
+++ check-0.11.0/configure.ac 2016-12-21 15:37:20.008715140 -0500
@@ -20,9 +20,9 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_LIBOBJ_DIR([lib])
# really severe build strictness
-AM_INIT_AUTOMAKE([-Wall gnits 1.11.2])

View File

@ -1,15 +1,15 @@
Name: check
Version: 0.10.0
Release: 3%{?dist}
Version: 0.11.0
Release: 1%{?dist}
Summary: A unit test framework for C
Source0: https://github.com/libcheck/%{name}/archive/%{version}.tar.gz
Group: Development/Tools
License: LGPLv2+
URL: http://libcheck.github.io/check/
# Only needed for autotools in Fedora
Patch0: %{name}-0.10.0-info-in-builddir.patch
Patch0: %{name}-0.11.0-info-in-builddir.patch
BuildRequires: pkgconfig, libtool, autoconf, automake, subunit-devel
BuildRequires: texinfo
BuildRequires: texinfo
Requires(post): info
Requires(preun): info
@ -76,9 +76,17 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
rm -rf doc/example/.cvsignore
%check
export LD_LIBRARY_PATH=$PWD/src/.libs
make check
# Don't need to package the sh, log or trs files
# when we scoop the other checkmk/test files for doc
rm -rf checkmk/test/check_checkmk*
# these files are empty
rm -rf checkmk/test/empty_input
%post
/sbin/ldconfig
@ -96,8 +104,8 @@ if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then
fi
%files
%doc AUTHORS COPYING.LESSER ChangeLog ChangeLogOld NEWS README SVNChangeLog
%doc THANKS TODO
%doc AUTHORS ChangeLog
%license COPYING.LESSER
%{_libdir}/libcheck.so.*
%{_infodir}/check*
@ -111,15 +119,19 @@ fi
#check used to be static only, hence this.
%files static
%doc COPYING.LESSER
%license COPYING.LESSER
%{_libdir}/libcheck.a
%files checkmk
%doc checkmk/README checkmk/examples
%doc checkmk/test
%{_bindir}/checkmk
%{_mandir}/man1/checkmk.1*
%changelog
* Wed Dec 21 2016 Tom Callaway <spot@fedoraproject.org> - 0.11.0-1
- update to 0.11.0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
b2737c6725a22510780a5af79080a896 0.10.0.tar.gz
SHA512 (0.11.0.tar.gz) = 829adee2a5793dda6ac88162e355268019dd82e7a8ad95f1287bd262c3a7764425fba6a8347f1aeebdad642a972043b70aa59d54c87b3c46e1b5b569290dc359