From 0aefdab0569e56a5778f0658cadc6323ffa55fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Fri, 22 Jul 2016 09:07:59 +0200 Subject: Adjust RPM version detection to SRPM build root without perl
--- perl-Declare-Constraints-Simple.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/perl-Declare-Constraints-Simple.spec b/perl-Declare-Constraints-Simple.spec index 59e0343..c122b75 100644 --- a/perl-Declare-Constraints-Simple.spec +++ b/perl-Declare-Constraints-Simple.spec @@ -1,9 +1,9 @@ # Provides/Requires filtering is different from rpm 4.9 onwards -%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e') +%global rpm49 0%(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e') Name: perl-Declare-Constraints-Simple Version: 0.03 -Release: 27%{?dist} +Release: 28%{?dist} Summary: Declarative Validation of Data Structures License: GPL+ or Artistic Group: Development/Libraries @@ -98,6 +98,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Declare::Constraints::Simple::Result.3* %changelog +* Fri Jul 22 2016 Petr Pisar <ppi...@redhat.com> - 0.03-28 +- Adjust RPM version detection to SRPM build root without perl + * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 0.03-27 - Perl 5.24 rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Declare-Constraints-Simple.git/commit/?h=master&id=0aefdab0569e56a5778f0658cadc6323ffa55fae -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org