Index: SPECS/db4.spec =================================================================== --- SPECS.orig/db4.spec +++ SPECS/db4.spec @@ -8,7 +8,7 @@ Summary: The Berkeley DB database library (version 4) for C Name: db4 Version: 4.5.20 -Release: 5%{?dist} +Release: 5.fa1%{?dist} Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz Source1: http://download.oracle.com/berkeley-db/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