[tortoisehg: 1/2] tortoisehg-2.0

Mads Kiilerich kiilerix at fedoraproject.org
Thu Mar 3 01:59:45 UTC 2011


commit a2585e263f24e1b3a9022df7843e05bf2eb908b1
Author: Mads Kiilerich <mads at kiilerich.com>
Date:   Thu Mar 3 02:58:22 2011 +0100

    tortoisehg-2.0

 .gitignore      |    2 ++
 sources         |    2 +-
 tortoisehg.spec |   23 ++++++++++-------------
 3 files changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 01d4c84..c4ab494 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,5 @@ tortoisehg-1.1.2.tar.gz
 /tortoisehg-1.1.9.tar.gz
 /tortoisehg-1.1.9.1.tar.gz
 /tortoisehg-1.9.2+4-cff31955a6fa.tar.gz
+/tortoisehg-2.0.tar.gz
+/msgfmt.py
diff --git a/sources b/sources
index 653a58a..67dd508 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b02e48a335948790a11d534557b7f07c  tortoisehg-1.9.2+4-cff31955a6fa.tar.gz
+c6fc4e34313245e0124fd687af5f4cf8  tortoisehg-2.0.tar.gz
diff --git a/tortoisehg.spec b/tortoisehg.spec
index 9f66a98..d48e3c3 100644
--- a/tortoisehg.spec
+++ b/tortoisehg.spec
@@ -1,22 +1,16 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 # Pure python package
-%define debug_package %{nil} 
+%define debug_package %{nil}
 
-%define hash cff31955a6fa
-%define versionbase 1.9.2
-%define versionplus 4
-%define plusversion %{versionbase}+%{versionplus}
 Name:           tortoisehg
-Version:        %{versionbase}.%{versionplus}
+Version:        2.0
 Release:        1%{?dist}
 Summary:        Mercurial GUI command line tool thg
 Group:          Development/Tools
 License:        GPLv2
 # - few files are however under the more permissive GPLv2+
 URL:            http://tortoisehg.bitbucket.org/
-# hg clone http://bitbucket.org/tortoisehg/thg
-# python setup.py clean build_qt build_mo sdist
-Source0:        %{name}-%{plusversion}-%{hash}.tar.gz
+Source0:        http://bitbucket.org/tortoisehg/targz/downloads/%{name}-%{version}.tar.gz
 # This package _is_ noarch, but that isn't possible because the nautilus
 # subpackage has to be arch-specific:
 # BuildArch:    noarch
@@ -28,22 +22,22 @@ Requires:       PyQt4 >= 4.6, qscintilla-python, python-pygments
 
 %description
 This package contains the thg command line tool, which provides a graphical
-user interface to the Mercurial distributed revision control system. 
+user interface to the Mercurial distributed revision control system.
 
 %package        nautilus
-Summary:        Mercurial GUI plugin to Nautilus file manager 
+Summary:        Mercurial GUI plug-in to the Nautilus file manager
 Group:          Development/Tools
 Requires:       %{name} = %{version}-%{release}, nautilus-python
 
 %description    nautilus
 This package contains the TortoiseHg Gnome/Nautilus extension, which makes the
 Mercurial distributed revision control system available in the file manager
-with a graphical interface. 
+with a graphical interface.
 
 Note that the nautilus extension has been deprecated upstream.
 
 %prep
-%setup -q -n %{name}-%{plusversion}-%{hash}
+%setup -q
 
 # Fedora Nautilus python extensions lives in lib64 on x86_64 (https://bugzilla.redhat.com/show_bug.cgi?id=509633) ...
 %{__sed} -i "s,lib/nautilus,%{_lib}/nautilus,g" setup.py
@@ -96,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/nautilus/extensions-2.0/python/nautilus-thg.py*
 
 %changelog
+* Thu Mar 03 2011 Mads Kiilerich <mads at kiilerich.com> - 2.0-1
+- tortoisehg-2.0
+
 * Mon Feb 07 2011 Mads Kiilerich <mads at kiilerich.com> - 1.9.2.4-1
 - tortoisehg-1.9.2+4-cff31955a6fa
 - preparing for the qt based TortoiseHg 2.0 in Fedora 15


More information about the scm-commits mailing list