[mutt] update to hg snapshot 20100718hg1a35f0

Miroslav Lichvar mlichvar at fedoraproject.org
Fri Jul 30 11:06:10 UTC 2010


commit d897ddc6b1804b675c64e257be70a41720b2cb3f
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Fri Jul 30 13:02:42 2010 +0200

    update to hg snapshot 20100718hg1a35f0

 .gitignore |    2 +-
 mutt.spec  |   13 +++++++++++--
 sources    |    2 +-
 3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 32889e7..d9cb4d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-mutt-1.5.20-20091214hg736b6a.tar.bz2
+mutt-1.5.20-20100718hg1a35f0.tar.bz2
diff --git a/mutt.spec b/mutt.spec
index 335d009..4d979b6 100644
--- a/mutt.spec
+++ b/mutt.spec
@@ -16,14 +16,14 @@
 Summary: A text mode mail user agent
 Name: mutt
 Version: 1.5.20
-Release: 2.20091214hg736b6a%{?dist}.1
+Release: 3.20100718hg1a35f0%{?dist}
 Epoch: 5
 # The entire source code is GPLv2+ except
 # pgpewrap.c setenv.c sha1.c wcwidth.c which are Public Domain
 License: GPLv2+ and Public Domain
 Group: Applications/Internet
 # hg snapshot created from http://dev.mutt.org/hg/mutt
-Source: mutt-1.5.20-20091214hg736b6a.tar.bz2
+Source: mutt-1.5.20-20100718hg1a35f0.tar.bz2
 #Source: ftp://ftp.mutt.org/pub/mutt/devel/mutt-%{version}.tar.gz
 Source1: mutt_ldap_query
 Patch2: mutt-1.5.13-nodotlock.patch
@@ -71,6 +71,12 @@ for selecting groups of messages.
 
 install -p -m644 %{SOURCE1} mutt_ldap_query
 
+%define hgreldate \\.(201[0-9])([0-1][0-9])([0-3][0-9])hg
+if echo %{release} | grep -E -q '%{hgreldate}'; then
+	echo -n 'const char *ReleaseDate = ' > reldate.h
+	echo %{release} | sed -r 's/.*%{hgreldate}.*/"\1-\2-\3";/' >> reldate.h
+fi
+
 %build
 %configure \
 		SENDMAIL=%{_sbindir}/sendmail \
@@ -142,6 +148,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man5/muttrc.*
 
 %changelog
+* Fri Jul 30 2010 Miroslav Lichvar <mlichvar at redhat.com> 5:1.5.20-3.20100718hg1a35f0
+- update to hg snapshot 20100718hg1a35f0
+
 * Thu Dec 17 2009 Deji Akingunola <dakingun at gmail.com> - 5:1.5.20-2.20091214hg736b6a.1
 - Rebuild for tokyocabinet new release soname bump
 
diff --git a/sources b/sources
index 1a091e2..a9dc253 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-82c95ad3b133538de3e11de4f4062b78  mutt-1.5.20-20091214hg736b6a.tar.bz2
+11e4507790cb2feea1f2289da759b1be  mutt-1.5.20-20100718hg1a35f0.tar.bz2


More information about the scm-commits mailing list