From 7468a1c1840f18d285e235af303db80fd58b51c8 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emman...@seyman.fr>
Date: Fri, 11 Mar 2016 19:01:09 +0100
Subject: Stop using a variable in the version number

---
 perl-Text-Autoformat.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/perl-Text-Autoformat.spec b/perl-Text-Autoformat.spec
index a9d0cc7..fd983dd 100644
--- a/perl-Text-Autoformat.spec
+++ b/perl-Text-Autoformat.spec
@@ -1,13 +1,11 @@
 Name:           perl-Text-Autoformat
-# Maintain six-digit version number to ensure clean upgrade path
-%global cpan_version 1.74
-Version:        %{cpan_version}0000
-Release:        2%{?dist}
+Version:        1.740000
+Release:        3%{?dist}
 Summary:        Automatic text wrapping and reformatting
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Autoformat/
-Source0:        
http://www.cpan.org/authors/id/N/NE/NEILB/Text-Autoformat-%{cpan_version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/N/NE/NEILB/Text-Autoformat-1.74.tar.gz
 BuildArch:      noarch
 # Build
 BuildRequires:  coreutils
@@ -39,7 +37,7 @@ The module also supplies a re-entrant, highly configurable 
replacement for
 the built-in Perl format() mechanism.
 
 %prep
-%setup -q -n Text-Autoformat-%{cpan_version}
+%setup -q -n Text-Autoformat-1.74
 chmod -c -x config.*
 
 %build
@@ -60,6 +58,9 @@ make test
 %{_mandir}/man3/Text::Autoformat.3pm*
 
 %changelog
+* Fri Mar 11 2016 Emmanuel Seyman <emman...@seyman.fr> - 1.740000-3
+- Stop using a variable in the version number
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
1.740000-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Text-Autoformat.git/commit/?h=master&id=7468a1c1840f18d285e235af303db80fd58b51c8
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to