Fix FC4 build.

This commit is contained in:
Ville Skyttä 2005-03-18 11:15:55 +00:00
parent 764ed133d4
commit bc49aa224b
2 changed files with 17 additions and 1 deletions

11
gpgme-1.0.2-macro.patch Normal file
View File

@ -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);
}

View File

@ -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ä <ville.skytta at iki.fi> - 1.0.2-2
- Fix FC4 build.
* Tue Feb 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:1.0.2-1
- LGPL used here, and made summary more explicit.
- Remove dirmngr dependency (gpgsm interfaces with it).