Blame SOURCES/0029-git2spec.pl-remove-.git-date-from-release-string.patch

a56a5e
From 9bd3573ddba40e4ee7b01f4e906126dbdc494f28 Mon Sep 17 00:00:00 2001
90b079
From: Harald Hoyer <harald@redhat.com>
90b079
Date: Fri, 18 Oct 2013 15:34:44 +0200
90b079
Subject: [PATCH] git2spec.pl: remove ".git$(date)" from release string
90b079
90b079
---
90b079
 git2spec.pl | 3 +--
90b079
 1 file changed, 1 insertion(+), 2 deletions(-)
90b079
90b079
diff --git a/git2spec.pl b/git2spec.pl
1755ca
index 0d8adb4a..b8442951 100755
90b079
--- a/git2spec.pl
90b079
+++ b/git2spec.pl
90b079
@@ -20,8 +20,7 @@ chomp($tag);
90b079
 my @patches=&create_patches($tag, $pdir);
90b079
 my $num=$#patches + 2;
90b079
 $tag=~s/[^0-9]+?([0-9]+)/$1/;
90b079
-my $release="$num.git$datestr";
90b079
-$release="1" if $num == 1;
90b079
+my $release="$num";
90b079
 
90b079
 while(<>) {
90b079
     if (/^Version:/) {