[metrics-commit] CVS update: MODIFIED: source ...
Joe Bester
commit at globus.org
Thu Feb 17 18:07:00 CST 2011
User: bester
Date: 11/02/17 18:07:00
Modified: c/sender/source globus-usage.spec
Log:
workaround --docdir vs --with-docdir for different autotools versions
Revision Changes Path
1.3 +8 -1 usage/c/sender/source/globus-usage.spec
http://viewcvs.globus.org/viewcvs.cgi/usage/c/sender/source/globus-usage.spec.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: globus-usage.spec
===================================================================
RCS file: /home/globdev/CVS/globus-packages/usage/c/sender/source/globus-usage.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- globus-usage.spec 3 Feb 2011 21:47:33 -0000 1.2
+++ globus-usage.spec 18 Feb 2011 00:07:00 -0000 1.3
@@ -4,6 +4,12 @@
%global flavor gcc32
%endif
+%if "%{?rhel}" == "5"
+%global docdiroption "with-docdir"
+%else
+%global docdiroption "docdir"
+%endif
+
Name: globus-usage
%global _name %(tr - _ <<< %{name})
Version: 2.0
@@ -68,7 +74,8 @@
%{_datadir}/globus/globus-bootstrap.sh
-%configure --with-flavor=%{flavor} --docdir=%{_docdir}/%{name}-%{version} \
+%configure --with-flavor=%{flavor} \
+ --%{docdiroption}=%{_docdir}/%{name}-%{version} \
--disable-static
make %{?_smp_mflags}
More information about the metrics-commit
mailing list