Remove irrelevant substitution and disable parallel make causing build failure.

Tue, 28 Aug 2012 18:31:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:31:00 +0200
changeset 544
b7947b261c13
parent 543
5e1f47ec716e
child 545
66949ddfb716

Remove irrelevant substitution and disable parallel make causing build failure.

dspam/dspam.spec file | annotate | diff | comparison | revisions
     1.1 --- a/dspam/dspam.spec	Tue Aug 28 18:30:55 2012 +0200
     1.2 +++ b/dspam/dspam.spec	Tue Aug 28 18:31:00 2012 +0200
     1.3 @@ -36,7 +36,7 @@
     1.4  Group:        Mail
     1.5  License:      GPL
     1.6  Version:      %{V_opkg}
     1.7 -Release:      20120424
     1.8 +Release:      20120800
     1.9  
    1.10  #   list of sources
    1.11  Source0:      http://switch.dl.sourceforge.net/dspam/dspam-%{V_dist}.tar.gz
    1.12 @@ -67,10 +67,6 @@
    1.13  
    1.14  %prep
    1.15      %setup -q -n dspam-%{V_dist}
    1.16 -    %{l_shtool} subst \
    1.17 -        -e '/LINENO: error: C[+]* preprocessor/{N;N;N;N;s/.*/:/;}' \
    1.18 -        -e 's;LIBS="-lm";LIBS="$LIBS -lm";' \
    1.19 -        configure
    1.20  
    1.21  %build
    1.22      CC="%{l_cc}" \
    1.23 @@ -95,14 +91,14 @@
    1.24          --disable-homedir \
    1.25          --disable-shared \
    1.26          --enable-warnings=no
    1.27 -    %{l_make} %{l_mflags -O}
    1.28 +    %{l_make} %{l_mflags}
    1.29  
    1.30  %install
    1.31      %{l_shtool} mkdir -f -p -m 755 \
    1.32          $RPM_BUILD_ROOT%{l_prefix}/man/man3 \
    1.33          $RPM_BUILD_ROOT%{l_prefix}/var/dspam
    1.34      %{l_shtool} subst -e 's;ln -s ;ln $(DESTDIR);g' Makefile
    1.35 -    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    1.36 +    %{l_make} %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT"
    1.37      strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    1.38      %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
    1.39          %{l_files_std} \

mercurial