Adjust package version computation to SRPM build root witout perl
This commit is contained in:
parent
be7ab017d5
commit
267d846ded
@ -1,10 +1,10 @@
|
||||
# RPM version needs 4 digits after the decimal to preserve upgrade path
|
||||
%global module_version 0.64
|
||||
%global RPM_version %(echo %{module_version} | perl -p -e 's/(.*)/sprintf("%.4f", $1)/e')
|
||||
%global RPM_version %{module_version}00
|
||||
|
||||
Name: perl-Test-Differences
|
||||
Version: %{RPM_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Test strings and data structures and show differences if not OK
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -68,6 +68,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Test::Differences.3*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 0.6400-4
|
||||
- Adjust package version computation to SRPM build root witout perl
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.6400-3
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user