SPECS: amavis-stats.spec - ugly workaround: hack config.sub with sed to pre...

hawk hawk at pld-linux.org
Mon May 12 18:17:10 CEST 2008


Author: hawk                         Date: Mon May 12 16:17:10 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ugly workaround: hack config.sub with sed to prevent error
  "machine `noarch-pld' not recognized", BR: sed, any ideas
  for better fix?

---- Files affected:
SPECS:
   amavis-stats.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/amavis-stats.spec
diff -u SPECS/amavis-stats.spec:1.35 SPECS/amavis-stats.spec:1.36
--- SPECS/amavis-stats.spec:1.35	Mon May 12 15:05:08 2008
+++ SPECS/amavis-stats.spec	Mon May 12 18:17:04 2008
@@ -14,6 +14,7 @@
 Patch1:		%{name}-Makefile.patch
 URL:		http://osx.topicdesk.com/content/view/42/59/
 BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	sed
 Provides:	%{name}-%{version}-%{release}
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -61,6 +62,7 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+sed -i -e '/basic_machine=powerpc-apple/s/$/\n\t\t;;\n\tnoarch-*)\n\t\tbasic_machine=noarch/;' config.sub
 %configure \
 	--with-user=http \
 	--with-group=http \
@@ -143,6 +145,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2008-05-12 16:17:04  hawk
+- ugly workaround: hack config.sub with sed to prevent error
+  "machine `noarch-pld' not recognized", BR: sed, any ideas
+  for better fix?
+
 Revision 1.35  2008-05-12 13:05:08  hawk
 - oops! its still noarch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/amavis-stats.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list