SPECS: amavis-ng.spec - fix build for non-x86 arch, rel 2
glen
glen at pld-linux.org
Fri Apr 14 15:07:30 CEST 2006
Author: glen Date: Fri Apr 14 13:07:29 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix build for non-x86 arch, rel 2
---- Files affected:
SPECS:
amavis-ng.spec (1.40 -> 1.41)
---- Diffs:
================================================================
Index: SPECS/amavis-ng.spec
diff -u SPECS/amavis-ng.spec:1.40 SPECS/amavis-ng.spec:1.41
--- SPECS/amavis-ng.spec:1.40 Fri Apr 14 15:00:54 2006
+++ SPECS/amavis-ng.spec Fri Apr 14 15:07:24 2006
@@ -5,7 +5,7 @@
Summary(pl): Amavis nowej generacji
Name: amavis-ng
Version: 0.1.6.9
-Release: 1
+Release: 2
License: GPL
Group: Applications/Mail
Source0: http://dl.sourceforge.net/amavis/%{name}-%{version}.tar.gz
@@ -15,11 +15,13 @@
Patch1: %{name}-config.patch
Patch2: %{name}-courier.patch
Patch3: %{name}-mks.patch
+Patch4: %{name}-make.patch
URL: http://amavis.sourceforge.net/
BuildRequires: perl-devel
BuildRequires: perl-libnet
BuildRequires: rpm-perlprov
BuildRequires: rpmbuild(macros) >= 1.202
+BuildRequires: sendmail-devel
Requires(postun): /usr/sbin/groupdel
Requires(postun): /usr/sbin/userdel
Requires(pre): /bin/id
@@ -61,6 +63,10 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
+
+# precompiled x86 binary
+rm -f amavis-milter/amavis-milter
%build
%{__perl} Makefile.PL \
@@ -71,7 +77,9 @@
%{__make}
cd ../amavis-milter
-%{__make}
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -138,6 +146,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.41 2006/04/14 13:07:24 glen
+- fix build for non-x86 arch, rel 2
+
Revision 1.40 2006/04/14 13:00:54 glen
- define pdir for perl automatics
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/amavis-ng.spec?r1=1.40&r2=1.41&f=u
More information about the pld-cvs-commit
mailing list