Accepting request 358414 from home:pluskalm:branches:Base:System

- Update to 0.23.2
 * Fix forking issues with libffi
 * Fix various crashes in corner cases
 * Updated translations
 * Build fixes
- Make building more verbose
- Enable tests
- Small spec file cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/358414
OBS-URL: https://build.opensuse.org/package/show/Base:System/p11-kit?expand=0&rev=23
This commit is contained in:
Ludwig Nussel 2016-02-09 07:21:01 +00:00 committed by Git OBS Bridge
parent bbb0dddebe
commit 6f0ea4db2f
6 changed files with 29 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e57371669f3b157141b86c429bd9c29741994b2f5ff115fcb8a03e751b0f6ac4
size 992924

Binary file not shown.

3
p11-kit-0.23.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0
size 1022733

BIN
p11-kit-0.23.2.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Feb 8 21:25:45 UTC 2016 - mpluskal@suse.com
- Update to 0.23.2
* Fix forking issues with libffi
* Fix various crashes in corner cases
* Updated translations
* Build fixes
- Make building more verbose
- Enable tests
- Small spec file cleanup with spec-cleaner
-------------------------------------------------------------------
Sun Mar 8 18:56:55 UTC 2015 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package p11-kit
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -16,13 +16,13 @@
#
%define pkidir_cfg %{_sysconfdir}/pki
%define pkidir_static %{_datadir}/pki
%define pkidir_cfg %{_sysconfdir}/pki
%define pkidir_static %{_datadir}/pki
%define trustdir_cfg %{pkidir_cfg}/trust
%define trustdir_static %{pkidir_static}/trust
Name: p11-kit
Version: 0.23.1
Version: 0.23.2
Release: 0
Summary: Library to work with PKCS#11 modules
License: BSD-3-Clause
@ -87,11 +87,11 @@ Adaptor library to make NSS read the p11-kit trust store. It has
to be installed intead of mozilla-nss-certs.
%prep
%autosetup -p1
%setup -q
%build
%configure --with-trust-paths=%{trustdir_cfg}:%{trustdir_static}
make %{?_smp_mflags}
make %{?_smp_mflags} V=1
%install
%make_install
@ -105,11 +105,11 @@ install -d %{buildroot}%{_sysconfdir}/pkcs11/modules
# with future versions of the library on file level. As replacement, we package
# the file as documentation file.
rm %{buildroot}%{_sysconfdir}/pkcs11/pkcs11.conf.example
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
#
install -d -m 755 %{buildroot}/etc/rpm/
cat <<'FIN' >%{buildroot}/etc/rpm/macros.%{name}
# Macros from %{name} package
install -d -m 755 %{buildroot}%{_sysconfdir}/rpm/
cat <<'FIN' >%{buildroot}%{_sysconfdir}/rpm/macros.%{name}
# Macros from p11-kit package
%%pkidir_cfg %{pkidir_cfg}
%%pkidir_static %{pkidir_static}
%%trustdir_cfg %{trustdir_cfg}
@ -124,6 +124,9 @@ rm %{buildroot}%{_libdir}/%{name}/trust-extract-compat
ln -s ../../sbin/update-ca-certificates %{buildroot}%{_libdir}/%{name}/p11-kit-extract-trust
export NO_BRP_STALE_LINK_ERROR=yes # *grr*
%check
make %{?_smp_mflags} check
%post -n libp11-kit0 -p /sbin/ldconfig
%postun -n libp11-kit0 -p /sbin/ldconfig
@ -165,7 +168,7 @@ export NO_BRP_STALE_LINK_ERROR=yes # *grr*
%files devel
%defattr(-,root,root)
%config /etc/rpm/macros.%{name}
%config %{_sysconfdir}/rpm/macros.%{name}
%{_includedir}/p11-kit-1/
%{_libdir}/libp11-kit.so
%{_libdir}/pkgconfig/p11-kit-1.pc