- Build PIC only for x86_64.
This commit is contained in:
parent
37dd6e617f
commit
f407a9a367
@ -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 <mschwendt[at]users.sf.net> - 0.6.10-2
|
||||
- Build PIC only for x86_64.
|
||||
|
||||
* Fri Jul 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.10-1
|
||||
- 0.6.10, macro patch no longer needed (#162262).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user