3
0
forked from pool/libgpg-error

Accepting request 231581 from home:AndreasStieger:branches:Base:System

libgpg-error 1.13

OBS-URL: https://build.opensuse.org/request/show/231581
OBS-URL: https://build.opensuse.org/package/show/Base:System/libgpg-error?expand=0&rev=27
This commit is contained in:
Marcus Meissner 2014-04-28 09:26:48 +00:00 committed by Git OBS Bridge
parent 48382d3ed5
commit 526c34bdaf
6 changed files with 43 additions and 17 deletions

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sun Apr 27 16:18:42 UTC 2014 - andreas.stieger@gmx.de
- update to 1.13:
* Added a portable mutex API.
* The AM_PATH_GPG_ERROR macro now defines GPG_ERROR_MT_CFLAGS
and GPG_ERROR_MT_LIBS autoconf output variables for use by
programs which need gpgrt based thread support.
gpg-error-config has a new option --mt.
- Interface changes relative to the 1.12 release:
GPG_ERR_KEY_ON_CARD NEW.
GPG_ERR_MAC_ALGO NEW.
GPG_ERR_INV_LOCK_OBJ NEW.
gpgrt_lock_t NEW.
GPGRT_LOCK_INITIALIZER NEW.
GPGRT_LOCK_DEFINE NEW.
gpgrt_lock_init NEW.
gpgrt_lock_lock NEW.
gpgrt_lock_unlock NEW.
gpgrt_lock_destroy NEW.
gpgrt_yield NEW.
- run available tests
- fix SLE 11 SP2 build (make install)
-------------------------------------------------------------------
Mon Aug 19 21:21:34 UTC 2013 - andreas.stieger@gmx.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libgpg-error
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: libgpg-error
Version: 1.12
Version: 1.13
Release: 0
Summary: Library That Defines Common Error Values for All GnuPG Components
License: GPL-2.0+ and LGPL-2.1+
@ -26,10 +26,10 @@ Url: http://www.gnupg.org/
Source: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
# http://www.gnupg.org/signature_key.en.html
Source2: %name.keyring
Source2: %{name}.keyring
Source3: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: gpg-offline
%description
@ -41,13 +41,13 @@ pinentry, SmartCard Daemon, and possibly more in the future.
Summary: Library That Defines Common Error Values for All GnuPG Components
License: GPL-2.0+ and LGPL-2.1+
Group: Development/Libraries/C and C++
#
Provides: libgpg-error = %{version}
Obsoletes: libgpg-error < %{version}
# bug437293
%ifarch ppc64
Obsoletes: libgpg-error-64bit
%endif
#
Provides: libgpg-error = %version
Obsoletes: libgpg-error < %version
%description -n libgpg-error0
This is a library that defines common error values for all GnuPG
@ -58,34 +58,36 @@ pinentry, SmartCard Daemon, and possibly more in the future.
Summary: Development package for libgpg-error
License: GPL-2.0+ and LGPL-2.1+ and MIT
Group: Development/Libraries/C and C++
#
Requires: glibc-devel
Requires: libgpg-error0 = %{version}
# bug437293
%ifarch ppc64
Obsoletes: libgpg-error-devel-64bit
%endif
#
Requires: glibc-devel
Requires: libgpg-error0 = %version
%description devel
Files needed for software development using libgpg-error.
%prep
%setup -q -n libgpg-error-%version
%setup -q -n libgpg-error-%{version}
%build
%configure --disable-static --with-pic
make %{?_smp_mflags}
%install
%make_install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}%{_libdir}/libgpg-error.la
# Drop the lisp stuff, it depends on ASDF and CFFI
# which needs to be packaged first
rm -r %{buildroot}%{_datadir}/common-lisp
%find_lang %{name}
%clean
rm -rf %{buildroot}
%check
make check %{?_smp_mflags}
%{buildroot}/%{_bindir}/gpg-error-config --libs | grep -q -v "\-lpthread"
%{buildroot}/%{_bindir}/gpg-error-config --mt --libs | grep -q "\-lpthread"
%post -n libgpg-error0 -p /sbin/ldconfig