[xpa] Fix race condition, tools were built before the shared library
Sergio Pascual
sergiopr at fedoraproject.org
Thu Nov 27 10:32:13 UTC 2014
commit 9a6695e2c0a63708a690af48ca66771b78d7ae60
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Thu Nov 27 11:32:04 2014 +0100
Fix race condition, tools were built before the shared library
xpa.spec | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/xpa.spec b/xpa.spec
index 3e64e65..83bf38a 100644
--- a/xpa.spec
+++ b/xpa.spec
@@ -3,7 +3,7 @@
Name: xpa
Version: 2.1.15
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The X Public Access messaging system
# FSF address wrong in COPYING file
@@ -70,8 +70,13 @@ rm -rf %{_builddir}/%{name}-%{version}/doc/*.ps
%configure --includedir=%{_includedir}/xpa --datadir=%{_datadir}/xpa \
--enable-shared --with-tcl=%{_libdir} \
--with-x --enable-threaded-xpans
-make %{?_smp_mflags}
-make %{?_smp_mflags} tclxpa
+# Race condition
+# the utilities are built before the shared library
+# and linked with the static library
+#make %{?_smp_mflags}
+make
+#make %{?_smp_mflags} tclxpa
+make tclxpa
%install
make INSTALL_ROOT=%{buildroot} install
@@ -108,6 +113,9 @@ mv %{buildroot}%{_libdir}/libtcl* %{buildroot}%{tcl_sitearch}/tclxpa
%doc doc/*.pdf
%changelog
+* Thu Nov 27 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 2.1.15-3
+- Fix race condition, tools were built before the shared library
+
* Wed Oct 29 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 2.1.15-2
- isa macro in subpackage requires
- doc subpackage
More information about the scm-commits
mailing list