[guacamole-server/el6] EPEL 6 workaround for really old autoconf version

Simone Caronni slaanesh at fedoraproject.org
Mon Sep 2 12:33:20 UTC 2013


commit 8c7bb963658bb4004d4a678007ac7046b35f5e98
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Mon Sep 2 14:32:40 2013 +0200

    EPEL 6 workaround for really old autoconf version

 guacamole-server.spec |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/guacamole-server.spec b/guacamole-server.spec
index 68b75a8..b1491bc 100644
--- a/guacamole-server.spec
+++ b/guacamole-server.spec
@@ -3,7 +3,7 @@
 
 Name:           guacamole-server
 Version:        0.8.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Server-side native components that form the Guacamole proxy
 
 License:        MPLv1.1 or GPLv2+
@@ -114,8 +114,17 @@ framework to translate between arbitrary protocols and the Guacamole protocol.
 %setup -q
 
 %build
+%if 0%{?fedora} || 0%{?rhel} >= 7
 autoreconf -vif
 %configure
+%endif
+
+%if 0%{?rhel} == 6
+%configure
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+%endif
+
 make %{?_smp_mflags}
 cd doc/
 doxygen Doxyfile
@@ -125,6 +134,9 @@ doxygen Doxyfile
 find %{buildroot} -type f -name "*.la" -delete
 find %{buildroot} -type f -name "*.a" -delete
 cp -fr doc/doxygen-output/html .
+%if 0%{?rhel} == 6
+rm -f html/installdox
+%endif
 
 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
 install -p -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/guacd
@@ -234,6 +246,9 @@ fi
 %attr(750,%{username},%{username}) %{_sharedstatedir}/guacd
 
 %changelog
+* Mon Sep 02 2013 Simone Caronni <negativo17 at gmail.com> - 0.8.3-2
+- Add specific EPEL 6 workaround for really old autoconf version.
+
 * Wed Aug 28 2013 Simone Caronni <negativo17 at gmail.com> - 0.8.3-1
 - Update to 0.8.3.
 - Drop upstreamed patch.


More information about the scm-commits mailing list