From f407a9a367ce5e3a2d8ea02a6c11becac67bd42c Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Jul 04 2005 17:29:46 +0000 Subject: - Build PIC only for x86_64. --- diff --git a/libassuan.spec b/libassuan.spec index 85f4d15..c4d512f 100644 --- a/libassuan.spec +++ b/libassuan.spec @@ -1,7 +1,7 @@ Summary: GnuPG IPC library Name: libassuan Version: 0.6.10 -Release: 1%{?dist} +Release: 2%{?dist} Source0: ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-%{version}.tar.gz Source1: ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-%{version}.tar.gz.sig URL: http://www.gnupg.org/ @@ -18,6 +18,7 @@ Summary: Development files for the %{name} package Group: Development/Libraries Requires(post): /sbin/install-info Requires(postun): /sbin/install-info + %description devel This is the IPC library used by GnuPG 1.9, GPGME and a few other packages. @@ -30,9 +31,12 @@ This package contains files needed to develop applications using %{name}. %build +%ifarch x86_64 +export CFLAGS="$RPM_OPT_FLAGS -fPIC" +%endif %configure -make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" %{?_smp_mflags} +make %{?_smp_mflags} %install @@ -78,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jul 4 2005 Michael Schwendt - 0.6.10-2 +- Build PIC only for x86_64. + * Fri Jul 1 2005 Ville Skyttä - 0.6.10-1 - 0.6.10, macro patch no longer needed (#162262).