introduced max-cache-ttl option (instead of 1h hardwired limit) - see:
http://marc.theaimsgroup.com/?l=gnupg-devel&m=
109300087831144&w=2
- patch is not taken directly - contain maintainer modifications.
Changed files:
gnupg2.spec -> 1.18
#
# Conditional build:
+%bcond_with max_cache_ttl # add max-cache-ttl option (for tests)
%bcond_without xinitrc # don't use xinitrc's directory
#
Summary: GnuPG extension - agent
Source0: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%{version}.tar.gz
# Source0-md5: d923cfe0921898fbeb66374a0e32ddc6
Source1: gnupg-agent.sh
+# Patch0 based on http://marc.theaimsgroup.com/?l=gnupg-devel&m=109300087831144&w=2
+# taken from gnupg cvs.
+Patch0: %{name}-max_cache_ttl.patch
Icon: gnupg.gif
URL: http://www.gnupg.org/
BuildRequires: automake
%prep
%setup -q -n gnupg-%{version}
+%{?with_max_cache_ttl:%patch0 -p1}
%build
cp -f /usr/share/automake/config.* scripts