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

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