--- 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.