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

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