From 9a6695e2c0a63708a690af48ca66771b78d7ae60 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Nov 27 2014 10:32:04 +0000 Subject: Fix race condition, tools were built before the shared library --- 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 - 2.1.15-3 +- Fix race condition, tools were built before the shared library + * Wed Oct 29 2014 Sergio Pascual - 2.1.15-2 - isa macro in subpackage requires - doc subpackage