--On Wednesday, November 20, 2002 1:43 PM -0800 Kenneth Porter
<[EMAIL PROTECTED]> wrote:

> If SA is to remain buildable under 7.2, then I suggest using Jan's command
> line in the spec file to work around the broken path logic in the old
> MakeMaker module.

As it happens, I couldn't get that to work. However, the following patch
seems to allow the package to build. I'm now seeing if everything works
correctly.

@@ -105,13 +105,13 @@
 %setup -q -n %{pdir}-%{pnam}-%{real_version}
 
 %build
-%{__perl} Makefile.PL PREFIX=$RPM_BUILD_ROOT/%{_prefix}
SYSCONFDIR=$RPM_BUILD_ROOT/%{_sysconfdir} INST_PREFIX=%{_prefix}
INST_SYSCONFDIR=%{_sysconfdir}
-%{__make} 
+%{__perl} Makefile.PL
+%{__make} PREFIX=$RPM_BUILD_ROOT%{_prefix}
 # make test
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-%makeinstall 
+%makeinstall  PREFIX=$RPM_BUILD_ROOT%{_prefix}
 install -d %buildroot/%{initdir}
 install -m 0755 spamd/redhat-rc-script.sh
%buildroot/%{initdir}/spamassassin
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to