SHA256
1
0
forked from pool/libasn1c

- Require talloc from libasn1c-devel as its header file is used.

- Show logs on testsuite failure.

OBS-URL: https://build.opensuse.org/package/show/network:telephony/libasn1c?expand=0&rev=10
This commit is contained in:
Jan Engelhardt 2018-03-25 09:14:24 +00:00 committed by Git OBS Bridge
parent 58052c875a
commit 4778c0532f
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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