Skip to content

Commit

Permalink
Fix specfile for RHEL5
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sgallagher committed Mar 11, 2011
1 parent 87f4e72 commit 1f81c1d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contrib/sssd.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit 1f81c1d

Please sign in to comment.