From 9a6d879e4b3cbe980ab3d60f18dbcfe7056c0df4 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sun, 31 Aug 2008 03:05:54 +0000 Subject: [PATCH] * Sat Aug 30 2008 Michel Salim 2.23.90-2 - Patch configure to detect gpg2 binary --- seahorse-2.23.90-gpg2.patch | 11 +++++++++++ seahorse.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 seahorse-2.23.90-gpg2.patch diff --git a/seahorse-2.23.90-gpg2.patch b/seahorse-2.23.90-gpg2.patch new file mode 100644 index 0000000..690d3a8 --- /dev/null +++ b/seahorse-2.23.90-gpg2.patch @@ -0,0 +1,11 @@ +--- seahorse-2.23.90/configure.gpg2 2008-08-18 13:01:35.000000000 -0400 ++++ seahorse-2.23.90/configure 2008-08-30 22:50:06.000000000 -0400 +@@ -21829,7 +21829,7 @@ + if test "$DO_CHECK" = "yes"; then + accepted_versions="1.2 1.4 2.0" + # Extract the first word of "gpg", so it can be a program name with args. +-set dummy gpg; ac_word=$2 ++set dummy gpg2; ac_word=$2 + { echo "$as_me:$LINENO: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } + if test "${ac_cv_path_GNUPG+set}" = set; then diff --git a/seahorse.spec b/seahorse.spec index 1aa017b..95d6cb7 100644 --- a/seahorse.spec +++ b/seahorse.spec @@ -1,6 +1,6 @@ Name: seahorse Version: 2.23.90 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A GNOME application for managing encryption keys Group: User Interface/Desktops # seahorse is GPLv2+ @@ -8,6 +8,7 @@ Group: User Interface/Desktops License: GPLv2+ and LGPLv2+ URL: http://projects.gnome.org/seahorse/ Source: http://download.gnome.org/sources/seahorse/2.23/%{name}-%{version}.tar.bz2 +Patch0: seahorse-2.23.90-gpg2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils @@ -53,6 +54,7 @@ library that belongs to seahorse. %prep %setup -q +%patch0 -p1 -b .gpg2 %build %configure --disable-scrollkeeper @@ -140,6 +142,9 @@ fi %{_libdir}/pkgconfig/cryptui-0.0.pc %changelog +* Sat Aug 30 2008 Michel Salim 2.23.90-2 +- Patch configure to detect gpg2 binary + * Sat Aug 23 2008 Matthias Clasen 2.23.90-1 - Update to 2.23.90