Index: SPECS/db4.spec =================================================================== --- SPECS.orig/db4.spec +++ SPECS/db4.spec @@ -11,7 +11,7 @@ Summary: The Berkeley DB database library (version 4) for C. Name: db4 Version: 4.3.29 -Release: 9%{?dist} +Release: 9.fa1%{?dist} Source: http://www.sleepycat.com/update/%{version}/db-%{version}.tar.gz Source1: http://www.sleepycat.com/update/1.85/db.1.85.tar.gz Source2: nptl-abi-note.S @@ -221,12 +221,14 @@ build() { } unset nptl_s nptl_lo +%ifnarch %{arm} case %{_os} in linux|Linux) nptl_s=%{SOURCE2} nptl_lo=nptl-abi-note.lo ;; esac +%endif build dist-tls POSIX/pthreads/library unset nptl_s nptl_lo