summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-02-15 08:33:36 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-03-11 11:56:44 -0500
commit1f81c1d5c9b97d64ce11329fe7283a0d59d7d47d (patch)
tree0d3a08b00f6dcae4045b1d5e1a2c59b3266be3d6
parent87f4e72dacac7b3525f690720d722745e1febde7 (diff)
downloadsssd_unused-1f81c1d5c9b97d64ce11329fe7283a0d59d7d47d.zip
sssd_unused-1f81c1d5c9b97d64ce11329fe7283a0d59d7d47d.tar.gz
sssd_unused-1f81c1d5c9b97d64ce11329fe7283a0d59d7d47d.tar.xz
Fix specfile for RHEL5sssd-1_5_3
RHEL5 uses an old libtool. We need to forcibly remove certain m4 files before running autoreconf to ensure that they get replaced with the appropriate old versions.
-rw-r--r--contrib/sssd.spec.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index b439dd4..338151d 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -112,7 +112,17 @@ use with ldap_default_authtok_type = obfuscated_password.
%setup -q
%build
+
+# RHEL 5 uses an old libtool, so we need to force it to reconfigure
+# This is safe to do on newer packages too, as it will just
+# gather the appropriate m4 files from the libtool package
+for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
+do
+ find . -name $i -exec rm -f {} \;
+done
+
autoreconf -ivf
+
%configure \
--with-db-path=%{dbpath} \
--with-pipe-path=%{pipepath} \