Stop using a variable in the version number

epel9
Emmanuel Seyman 9 years ago
parent 8d33c8d3f9
commit 7468a1c184

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

Loading…
Cancel
Save