packages: ruby-ronn/ruby-ronn.spec - bcond with_git

pawelz pawelz at pld-linux.org
Tue Jun 29 14:07:13 CEST 2010


Author: pawelz                       Date: Tue Jun 29 12:07:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- bcond with_git

---- Files affected:
packages/ruby-ronn:
   ruby-ronn.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/ruby-ronn/ruby-ronn.spec
diff -u packages/ruby-ronn/ruby-ronn.spec:1.2 packages/ruby-ronn/ruby-ronn.spec:1.3
--- packages/ruby-ronn/ruby-ronn.spec:1.2	Fri Jun 25 00:34:51 2010
+++ packages/ruby-ronn/ruby-ronn.spec	Tue Jun 29 14:07:05 2010
@@ -1,11 +1,22 @@
 # $Revision$, $Date$
+%bcond_with	gitmaster	# build latest git version, build with n5 builder flag
+
+%if %{with gitmaster}
+%define dl_ver	master
+%else
+%define dl_ver	%version
+%endif
+
 %define pkgname ronn
+
+%define		rel	0.1
+
 Summary:	Markdown to man and HTML translator
 Name:		ruby-ronn
 Version:	0.7.3
-Release:	0.1
+Release:	%{?with_gitmaster:master.}%{rel}
 License:	MIT
-Source0:	http://github.com/rtomayko/ronn/tarball/%{version}/%{name}-%{version}.tar.gz
+Source0:	http://github.com/rtomayko/ronn/tarball/%{dl_ver}/%{name}-%{dl_ver}.tar.gz
 # Source0-md5:	6fce1de64c54b014b88270567c29b5ce
 Group:		Development/Languages
 URL:		http://github.com/rtomayko/ronn
@@ -125,6 +136,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/06/29 12:07:05  pawelz
+- bcond with_git
+
 Revision 1.2  2010/06/24 22:34:51  pawelz
 - up to 0.7.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby-ronn/ruby-ronn.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list