diff --git a/gpgme-1.0.2-macro.patch b/gpgme-1.0.2-macro.patch new file mode 100644 index 0000000..a3e239a --- /dev/null +++ b/gpgme-1.0.2-macro.patch @@ -0,0 +1,11 @@ +--- gpgme/ath-compat.c~ 2004-12-07 23:11:52.000000000 +0200 ++++ gpgme/ath-compat.c 2005-03-18 12:54:44.000000000 +0200 +@@ -108,7 +108,7 @@ + ath_read (int fd, void *buf, size_t nbytes) + { + if (ath_ops && ath_ops->read) +- return ath_ops->read (fd, buf, nbytes); ++ return (ath_ops->read) (fd, buf, nbytes); + else + return read (fd, buf, nbytes); + } diff --git a/gpgme.spec b/gpgme.spec index 3b5c0fb..19be2fb 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -1,12 +1,13 @@ Name: gpgme Version: 1.0.2 -Release: 1%{?dist_tag} +Release: 2%{?dist_tag} Summary: GnuPG Made Easy - high level crypto API License: LGPL Group: Applications/System URL: http://www.gnupg.org/related_software/gpgme/ Source0: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.0.2.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.0.2.tar.bz2.sig +Patch0: %{name}-1.0.2-macro.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gnupg >= 1.2.2 @@ -38,6 +39,7 @@ Static libraries and header files from GPGME, GnuPG Made Easy. %prep %setup -q +%patch0 -p0 %build @@ -92,6 +94,9 @@ fi %changelog +* Fri Mar 18 2005 Ville Skyttä - 1.0.2-2 +- Fix FC4 build. + * Tue Feb 1 2005 Michael Schwendt - 0:1.0.2-1 - LGPL used here, and made summary more explicit. - Remove dirmngr dependency (gpgsm interfaces with it).