Add BuildRequires on libtool, add -fPIC to LDFLAGS, disable perl
This commit is contained in:
parent
c8e60bbec7
commit
0f05b02cc3
12
lasso.spec
12
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 <rcritten@redhat.com> - 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 <simo@redhat.com> - 2.4.1-2
|
||||
- Enable perl bindings
|
||||
- Also add support for building with automake 1.15
|
||||
|
Loading…
Reference in New Issue
Block a user