[rakarrack] Update to current git snapshot from 2013-04-14. Use %global (short)commit definitions and new source

David Timms dtimms at fedoraproject.org
Sun May 11 13:57:09 UTC 2014


commit a51974c369f0786b9fbe9a80bcbb896981d04cd6
Author: David Timms <dtimms at iinet.net.au>
Date:   Sun May 11 23:55:25 2014 +1000

    Update to current git snapshot from 2013-04-14.
    Use %global (short)commit definitions and new sourceforge git upstream source.

 .gitignore     |    2 +-
 rakarrack.spec |   15 ++++++++++-----
 sources        |    2 +-
 3 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 06270be..a5aa7c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/rakarrack-47245c3.tar.gz
+/rakarrack-git-b358630c2c17ef6b18b97ff5d22f91664033197b.zip
diff --git a/rakarrack.spec b/rakarrack.spec
index 5610e37..e5ce8d2 100644
--- a/rakarrack.spec
+++ b/rakarrack.spec
@@ -1,16 +1,18 @@
-%define gitrev 47245c3
+%global commit b358630c2c17ef6b18b97ff5d22f91664033197b
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
 %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
 
 Summary: Audio effects processing rack for guitar
 Name:    rakarrack
-Version: 0.6.1
-Release: 11.git%{gitrev}%{?dist}
+Version: 0.6.2
+Release: 0.1.20130414git%{shortcommit}%{?dist}
 License: GPLv2
 Group:   Applications/Multimedia
 URL:     http://%{name}.sourceforge.net/
 #S#ource0: http://downloads.sourceforge.net/%#{name}/%#{name}-%#{version}.tar.bz2
 #S#ource0: http://rakarrack.git.sourceforge.net/git/gitweb.cgi?p=rakarrack/rakarrack;a=snapshot;h=47245c3fd30dc326fedd7cdae444ddcf0fd97490;sf=tgz
-Source0:  rakarrack-47245c3.tar.gz
+#S#ource0:  rakarrack-47245c3.tar.gz
+Source0: http://sourceforge.net/code-snapshots/git/r/ra/rakarrack/git.git/rakarrack-git-%{commit}.zip
 
 Requires: hicolor-icon-theme
 
@@ -44,7 +46,7 @@ Nasca is our hero and a continuous inspiration
 # for releases
 #%#setup -q -n %#{name}-%#{version}
 # for git snapshot
-%setup -q -n %{name}-%{gitrev}
+%setup -q -n %{name}-git-%{commit}
 
 %{__sed} -i 's/Icon=icono_rakarrack_128x128/Icon=rakarrack/' data/%{name}.desktop
 %{__sed} -i 's/Guitar Effects Processor/Real-time audio effects processing rack for guitar/' data/%{name}.desktop
@@ -123,6 +125,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Mon May 12 2014 David Timms <iinet.net.au @ dtimms> - 0.6.2-0.1.20130414gitb358630
+- Update to current git snapshot from 2013-04-14
+
 * Thu Aug  8 2013 Ville Skyttä <ville.skytta at iki.fi> - 0.6.1-11.git47245c3
 - Fix build with unversioned %%{_docdir_fmt} (#993195).
 - Fix bogus dates in %%changelog.
diff --git a/sources b/sources
index d52e3b3..1a6fa02 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-92bf5900f9e18d02d422278407b46a4a  rakarrack-47245c3.tar.gz
+571ea6e9ec231ca245d492a19b1c5596  rakarrack-git-b358630c2c17ef6b18b97ff5d22f91664033197b.zip


More information about the scm-commits mailing list