diff contrib/mercurial.spec @ 21639:57e0f053e529

buildrpm: collect code for building local hg and using it in one place
author Mads Kiilerich <madski@unity3d.com>
date Thu, 15 May 2014 01:48:37 +0200
parents 5337cb17fa1f
children 977e5bd6eb76
line wrap: on
line diff
--- a/contrib/mercurial.spec	Tue May 20 03:57:21 2014 +0200
+++ b/contrib/mercurial.spec	Thu May 15 01:48:37 2014 +0200
@@ -1,3 +1,6 @@
+%global emacs_lispdir %{_datadir}/emacs/site-lisp
+%global pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))')
+
 Summary: A fast, lightweight Source Control Management system
 Name: mercurial
 Version: snapshot
@@ -14,9 +17,6 @@
 # The hgk extension uses the wish tcl interpreter, but we don't enforce it
 #Requires: tk
 
-%define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))')
-%define emacs_lispdir %{_datadir}/emacs/site-lisp
-
 %description
 Mercurial is a fast, lightweight source control management system designed
 for efficient handling of very large distributed projects.