[qgit] update to 2.4 switched to new upstream

Dan Horák sharkcz at fedoraproject.org
Thu Dec 1 16:53:32 UTC 2011


commit f0ebcba8cf085d94214109a4ebd0b319e0de0a91
Author: Dan Horák <dan at danny.cz>
Date:   Thu Dec 1 17:53:25 2011 +0100

    update to 2.4
    switched to new upstream

 .gitignore                                   |    1 +
 qgit-2.3-repo-config.patch                   |   35 --------------------------
 qgit-2.3-qmake.patch => qgit-2.4-qmake.patch |    7 +++--
 qgit.spec                                    |   21 +++++++--------
 sources                                      |    2 +-
 5 files changed, 16 insertions(+), 50 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 46c7a78..06d631c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 qgit-2.3.tar.bz2
+/qgit-2.4.tar.gz
diff --git a/qgit-2.3-qmake.patch b/qgit-2.4-qmake.patch
similarity index 70%
rename from qgit-2.3-qmake.patch
rename to qgit-2.4-qmake.patch
index a1d6325..b62b782 100644
--- a/qgit-2.3-qmake.patch
+++ b/qgit-2.4-qmake.patch
@@ -1,10 +1,11 @@
---- qgit/src/src.pro.qmake	2009-04-18 19:56:46.000000000 +0200
-+++ qgit/src/src.pro	2009-05-10 16:17:10.000000000 +0200
+diff -up qgit-2.4/src/src.pro.qmake qgit-2.4/src/src.pro
+--- qgit-2.4/src/src.pro.qmake	2011-12-01 17:23:58.000000000 +0100
++++ qgit-2.4/src/src.pro	2011-12-01 17:25:38.000000000 +0100
 @@ -38,7 +38,7 @@ win32 {
  
  unix {
      TARGET = qgit
--    target.path = ~/bin
+-    target.path = $$[QT_INSTALL_BINS]
 +    target.path = /usr/bin
      CONFIG += x11
  }
diff --git a/qgit.spec b/qgit.spec
index 8112a2a..22b79a4 100644
--- a/qgit.spec
+++ b/qgit.spec
@@ -1,16 +1,15 @@
 Name:           qgit
-Version:        2.3
-Release:        4%{?dist}
+Version:        2.4
+Release:        1%{?dist}
 Summary:        GUI browser for git repositories
 
 Group:          Development/Tools
 License:        GPLv2
-URL:            http://digilander.libero.it/mcostalba/
-Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+URL:            http://libre.tibirna.org/projects/qgit
+Source0:        http://libre.tibirna.org/attachments/download/1/%{name}-%{version}.tar.gz
 Source1:        %{name}.desktop
 Source2:        %{name}48d.png
-Patch0:         %{name}-2.3-qmake.patch
-Patch1:         %{name}-2.3-repo-config.patch
+Patch0:         %{name}-2.4-qmake.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils, qt4-devel 
@@ -21,12 +20,8 @@ With qgit you are able to browse revisions history, view patch content
 and changed files, graphically following different development branches.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 %patch0 -p1 -b .qmake
-%patch1 -p1 -b .repo-config
-
-# fix permissions
-chmod a-x src/*.{cpp,h}
 
 
 %build
@@ -58,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Dec 01 2011 Dan Horák <dan[at]danny.cz> - 2.4-1
+- update to 2.4
+- switched to new upstream
+
 * Fri May 27 2011 Dan Horák <dan[at]danny.cz> - 2.3-4
 - update for git 1.7.5 (#708251)
 
diff --git a/sources b/sources
index 34fda47..ea553ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1f6cd60cc1b92973718b108d542e3270  qgit-2.3.tar.bz2
+4c9b183eb4d066bd6e9fc4564ff77880  qgit-2.4.tar.gz


More information about the scm-commits mailing list