From 0f05b02cc3b4039d4a143611d4d0b6356073cd94 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 23 Mar 2015 17:49:33 -0400 Subject: [PATCH] Add BuildRequires on libtool, add -fPIC to LDFLAGS, disable perl --- lasso.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lasso.spec b/lasso.spec index 6b8111c..3386b41 100644 --- a/lasso.spec +++ b/lasso.spec @@ -1,6 +1,6 @@ %global with_java 1 %global with_php 1 -%global with_perl 1 +%global with_perl 0 %global with_python 1 %global with_wsf 0 @@ -15,7 +15,7 @@ Summary: Liberty Alliance Single Sign On Name: lasso Version: 2.4.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Libraries Source: http://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz @@ -25,6 +25,7 @@ BuildRequires: cyrus-sasl-devel BuildRequires: gtk-doc, libtool-ltdl-devel BuildRequires: glib2-devel, swig BuildRequires: libxml2-devel, xmlsec1-devel, openssl-devel, xmlsec1-openssl-devel +BuildRequires: libtool Url: http://lasso.entrouvert.org/ Patch01: automake-1.15-fix.patch @@ -107,6 +108,8 @@ library. %patch01 -p1 %build +LDFLAGS="${LDFLAGS} -fPIC" +export LDFLAGS ./autogen.sh %configure --prefix=%{_prefix} \ %if !%{with_java} @@ -217,6 +220,11 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name} %endif %changelog +* Mon Mar 23 2015 Rob Crittenden - 2.4.1-3 +- Add BuildRequires on libtool +- Add -fPIC to LDFLAGS +- Disable perl bindings, it fails to build on x86. + * Fri Jan 23 2015 Simo Sorce - 2.4.1-2 - Enable perl bindings - Also add support for building with automake 1.15