--On Tuesday, October 04, 2005 1:30 PM -0500 Burton Strauss <[EMAIL PROTECTED]> wrote:

fc2 vs fc4 is expected... If there were a reliable way to figure out the
release, but there ain't so don't go there...
  Newer versions of rpmbuild start to support parameters, but you can't
yet depend on finding them out there...

Note that the spec file for the current SpamAssassin depends on these. Here's an example from its spec file:

%if %{?release:0}%{!?release:1}
%define release 1
%endif
%if %{?srcext:0}%{!?srcext:1}
%define srcext .gz
%endif

On the rpmbuild command line you do something like:

--define 'srcext .bz2'

Nasty syntax, I agree.


_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to