update to gnupg-2.0.16

OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=24
This commit is contained in:
2010-07-19 21:58:25 +00:00
committed by Git OBS Bridge
parent b4d5e82f8c
commit d31b7648f6
4 changed files with 45 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package gpg2 (Version 2.0.15)
# spec file for package gpg2 (Version 2.0.16)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,25 +19,25 @@
Name: gpg2
Version: 2.0.15
Release: 2
Version: 2.0.16
Release: 4
BuildRequires: expect
BuildRequires: fdupes
BuildRequires: libgpg-error-devel >= 1.4
BuildRequires: libgpg-error-devel >= 1.7
BuildRequires: libgcrypt-devel >= 1.4.0
BuildRequires: libksba-devel >= 1.0.2
BuildRequires: libassuan-devel >= 1.0.4
BuildRequires: libksba-devel >= 1.0.7
BuildRequires: libassuan-devel >= 2.0.0
BuildRequires: opensc-devel
BuildRequires: libusb-devel
BuildRequires: readline-devel
BuildRequires: zlib-devel
BuildRequires: libadns-devel
BuildRequires: openldap2-devel
BuildRequires: openldap2
BuildRequires: libcurl-devel >= 7.10
%if 0%{?suse_version} >= 1120
BuildRequires: libpth-devel
BuildRequires: libpth-devel >= 1.3.7
%else
BuildRequires: pth
BuildRequires: pth >= 1.3.7
%endif
Url: http://www.gnupg.org/aegypten2/
License: GPLv2+
@@ -47,6 +47,8 @@ AutoReqProv: on
Requires: pinentry dirmngr
Recommends: %name-lang = %{version}
Provides: newpg gpg = 1.4.9 gnupg = %{version}
# special feature needed for OBS signd
Provides: gpg2_signd_support
Obsoletes: gpg < 1.4.9
Summary: GnuPG 2
Source: gnupg-%{version}.tar.bz2
@@ -55,8 +57,6 @@ Patch7: gnupg-2.0.4-install_tools.diff
Patch10: gnupg-2.0.9-RSA_ES.patch
Patch11: gnupg-2.0.9-langinfo.patch
Patch12: gnupg-files-are-digests.patch
# PATCH-FIX-UPSTREAM gnupg-2.0.14-s2kcount.patch dimstar@opensuse.org -- use fixed s2k-count number to not use gpg-agent.
Patch13: gnupg-2.0.14-s2kcount.patch
Patch14: gnupg-dont-fail-with-seahorse-agent.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -72,7 +72,6 @@ gpg-agent, and a keybox library.
%patch10 -p1
%patch11
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
@@ -98,11 +97,8 @@ CFLAGS="%{optflags} -fpie" LDFLAGS=-pie \
--with-dirmngr-pgm=%{_prefix}/bin/dirmngr \
--with-scdaemon-pgm=%{_prefix}/bin/scdaemon \
--enable-ldap \
--enable-external-hkp \
--enable-shared \
--enable-gpgsm=yes \
--enable-gpg \
--enable-static-rnd=linux \
--with-gnu-ld
make %{?jobs:-j%jobs};