logo       

[SACVS] CVS: spamassassin spamassassin.spec,1.37,1.38: msg#00093

mail.spam.spamassassin.cvs

Subject: [SACVS] CVS: spamassassin spamassassin.spec,1.37,1.38

Update of /cvsroot/spamassassin/spamassassin
In directory sc8-pr-cvs1:/tmp/cvs-serv6586

Modified Files:
spamassassin.spec
Log Message:
Allow "--define 'release 1_rh6'" and "--define 'srcext .bz2'" overrides
from the rpmbuild commandline.


Index: spamassassin.spec
===================================================================
RCS file: /cvsroot/spamassassin/spamassassin/spamassassin.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -w -u -d -r1.37 -r1.38
--- spamassassin.spec 12 Sep 2003 00:06:25 -0000 1.37
+++ spamassassin.spec 23 Sep 2003 18:18:49 -0000 1.38
@@ -17,7 +17,22 @@
Group: Applications/Mail
%define version 2.60
%define real_version 2.60
+
+# Release number can be specified with rpmbuild --define 'rel SOMETHING' ...
+# If no such --define is used, the release number is 1.
+#
+# Source archive's extension can be specified with --define 'srcext .foo'
+# where .foo is the source archive's actual extension.
+# To compile an RPM from a .bz2 source archive, give the command
+# rpmbuild -tb --define 'srcext .bz2' @PACKAGE@-@VERSION@.tar.bz2
+#
+%if %{?release:0}%{!?release:1}
%define release 1
+%endif
+%if %{?srcext:0}%{!?srcext:1}
+%define srcext .gz
+%endif
+

%define name spamassassin
%define initdir %{_initrddir}
@@ -27,7 +42,7 @@
Release: %{release}
License: Artistic
URL: http://spamassassin.org/
-Source:
http://spamassassin.org/released/Mail-SpamAssassin-%{real_version}.tar.gz
+Source:
http://spamassassin.org/released/Mail-SpamAssassin-%{real_version}.tar%{srcext}
Buildroot: %{_tmppath}/%{name}-root
Prefix: %{_prefix}
Prereq: /sbin/chkconfig



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise