# HG changeset patch # User Michael Schloh von Bennewitz # Date 1346171460 -7200 # Node ID b7947b261c1367f0dc5083b7a10424fe2e9dd009 # Parent 5e1f47ec716e940a5e61131a58273466558def98 Remove irrelevant substitution and disable parallel make causing build failure. diff -r 5e1f47ec716e -r b7947b261c13 dspam/dspam.spec --- a/dspam/dspam.spec Tue Aug 28 18:30:55 2012 +0200 +++ b/dspam/dspam.spec Tue Aug 28 18:31:00 2012 +0200 @@ -36,7 +36,7 @@ Group: Mail License: GPL Version: %{V_opkg} -Release: 20120424 +Release: 20120800 # list of sources Source0: http://switch.dl.sourceforge.net/dspam/dspam-%{V_dist}.tar.gz @@ -67,10 +67,6 @@ %prep %setup -q -n dspam-%{V_dist} - %{l_shtool} subst \ - -e '/LINENO: error: C[+]* preprocessor/{N;N;N;N;s/.*/:/;}' \ - -e 's;LIBS="-lm";LIBS="$LIBS -lm";' \ - configure %build CC="%{l_cc}" \ @@ -95,14 +91,14 @@ --disable-homedir \ --disable-shared \ --enable-warnings=no - %{l_make} %{l_mflags -O} + %{l_make} %{l_mflags} %install %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/man/man3 \ $RPM_BUILD_ROOT%{l_prefix}/var/dspam %{l_shtool} subst -e 's;ln -s ;ln $(DESTDIR);g' Makefile - %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + %{l_make} %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \