diff --git a/libasn1c.changes b/libasn1c.changes index 59a21ae..e5dca54 100644 --- a/libasn1c.changes +++ b/libasn1c.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Mar 25 09:12:55 UTC 2018 - jengelh@inai.de + +- Require talloc from libasn1c-devel as its header file is used. +- Show logs on testsuite failure. + ------------------------------------------------------------------- Mon Oct 2 22:35:06 UTC 2017 - jengelh@inai.de diff --git a/libasn1c.spec b/libasn1c.spec index 72a0138..98277f1 100644 --- a/libasn1c.spec +++ b/libasn1c.spec @@ -1,7 +1,7 @@ # # spec file for package libasn1c # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -55,6 +55,7 @@ EXTENDED-XER, PER. Summary: Development files for libasn1c, Osmocom's ASN.1 decoder and encoder library Group: Development/Libraries/C and C++ Requires: libasn1c0 = %version +Requires: pkgconfig(talloc) %description -n libasn1c-devel Compiles ASN.1 data structures into C source structures that can be @@ -77,7 +78,9 @@ make %{?_smp_mflags} find "%buildroot/%_libdir" -type f -name "*.la" -delete %check -make check %{?_smp_mflags} +if ! make check %{?_smp_mflags}; then + find . -name testsuite.log -exec cat "{}" "+" +fi %post -n libasn1c0 -p /sbin/ldconfig %postun -n libasn1c0 -p /sbin/ldconfig