Changed files:
nspr.spec -> 1.26
# Source0-md5: a7116e33316dad8e7ffda2fc64e69da1
Patch0: %{name}-am18.patch
Patch1: %{name}-acfix.patch
# Source0-md5: a7116e33316dad8e7ffda2fc64e69da1
Patch0: %{name}-am18.patch
Patch1: %{name}-acfix.patch
+Patch2: %{name}-amd64.patch
+Patch3: %{name}-libdir.patch
BuildRequires: autoconf >= 2.12
BuildRequires: automake
Obsoletes: nspr-pthreads
BuildRequires: autoconf >= 2.12
BuildRequires: automake
Obsoletes: nspr-pthreads
%setup -q
%patch0 -p1
%patch1 -p1
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
cd mozilla/nsprpub
%build
cd mozilla/nsprpub
+cp /usr/share/automake/config.sub build/autoconf/
%{__autoconf}
# don't use "--disable-strip" - it will cause stripping
%configure \
--with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
%{__autoconf}
# don't use "--disable-strip" - it will cause stripping
%configure \
--with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
+ --with-dist-libdir=$RPM_BUILD_ROOT%{_libdir} \
--with-mozilla \
--enable-optimize="%{rpmcflags}" \
--%{?debug:en}%{!?debug:dis}able-debug \
--with-mozilla \
--enable-optimize="%{rpmcflags}" \
--%{?debug:en}%{!?debug:dis}able-debug \