[mintmenu] add latest git snapshot to spec file

Wolfgang Ulbrich raveit65 at fedoraproject.org
Mon Jan 20 20:40:23 UTC 2014


commit 634548f010792b5116ad56feb3403032ef0620a1
Author: raveit65 <chat-to-me at raveit.de>
Date:   Mon Jan 20 21:40:35 2014 +0100

    add latest git snapshot to spec file

 mintmenu.spec |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/mintmenu.spec b/mintmenu.spec
index dd0f0ab..8841586 100644
--- a/mintmenu.spec
+++ b/mintmenu.spec
@@ -1,13 +1,27 @@
+%global _internal_version 9e8c4d9
+
 Name:           mintmenu
-Version:        5.5.0
-Release:        1%{?dist}
+Version:        5.5.1
+#Release:        1%{?dist}
+Release:        0.1.git%{_internal_version}1%{?dist}
 Summary:        Advanced Menu for the MATE Desktop
 
 Group:          System Environment/Shells
 # MIT is needed for keybinding.py
 License:        GPLv2+ and MIT
 URL:            http://packages.linuxmint.com
-Source0:        http://packages.linuxmint.com/pool/main/m/mintmenu/%{name}_%{version}.tar.gz
+
+# To generate tarball
+# wget wget https://github.com/linuxmint/%%{name}/archive/master.tar.gz \
+# -O %%{name}-%%{version}.git%%{_internal_version}.tar.gz \
+# && tar -xf %%{name}-%%{version}.git%%{_internal_version}.tar.gz \
+# && mv %%{name}-master %%{name}-%%{version}.git%%{_internal_version} \
+# && tar -czf %%{name}-%%{version}.git%%{_internal_version}.tar.gz \
+# %%{name}-%%{version}.git%%{_internal_version}
+
+Source0:        http://raveit65.fedorapeople.org/Mate/git-upstream/%{name}-%{version}.git%{_internal_version}.tar.gz
+
+#Source0:        http://packages.linuxmint.com/pool/main/m/mintmenu/%{name}_%{version}.tar.gz
 Source1:        http://packages.linuxmint.com/pool/main/m/mint-translations/mint-translations_2013.11.26.tar.gz
 Source2:        mintmenu-mate.png
 Source3:        mintmenu-icon.png
@@ -70,7 +84,8 @@ favorites, auto-session, and many other features.  MintMenu can either be
 added to your mate-panel or launched in its own window.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{version}.git%{_internal_version}
+#%setup -q -n %{name}
 mv debian/changelog changelog
 mv debian/copyright copyright
 tar -xf %{SOURCE1}
@@ -201,6 +216,12 @@ fi
 
 
 %changelog
+* Mon Jan 20 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> 5.5.1-0.1.git9e8c4d9
+- use latest snapshot from 2014.01.20
+- fix rhbz (#1054781)
+- edit superuser (5)patch
+- edit execute (13) patch
+
 * Sat Nov 30 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 5.5.0-1
 - update to 5.5.0 release
 - rework of some patches for 5.5.0 release


More information about the scm-commits mailing list