From 11c78af7feb72d9fdb3ab4616d903fdd8e536e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Thu, 15 Sep 2016 10:32:00 +0200 Subject: Remove useless dependency version contrains
--- perl-Tree.spec | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/perl-Tree.spec b/perl-Tree.spec index 2cea9c1..3ff3f8a 100644 --- a/perl-Tree.spec +++ b/perl-Tree.spec @@ -1,6 +1,6 @@ Name: perl-Tree Version: 1.09 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tree data structure # lib/Tree/Binary2.pm: GPL+ or Artistic # lib/Tree/Fast.pm: GPL+ or Artistic @@ -18,27 +18,25 @@ BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) +# I deliberately striped dependency version because upstream blindly copies +# versions from his machine, and that prevents from pushing this software into +# older distributions, CPAN RT#117858 # Run-time: BuildRequires: perl(constant) BuildRequires: perl(overload) -BuildRequires: perl(parent) >= 0.234 -BuildRequires: perl(Scalar::Util) >= 1.45 +BuildRequires: perl(parent) +BuildRequires: perl(Scalar::Util) # Tests: -BuildRequires: perl(Data::Dumper) >= 2.161 -BuildRequires: perl(Exporter) >= 5.71 +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) BuildRequires: perl(lib) -BuildRequires: perl(Test::Deep) >= 1.123 -BuildRequires: perl(Test::Exception) >= 0.43 -BuildRequires: perl(Test::More) >= 1.302056 -BuildRequires: perl(Test::Warn) >= 0.30 +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Warn) # Optional tests: BuildRequires: perl(Test::Memory::Cycle) >= 1.02 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -Requires: perl(parent) >= 0.234 -Requires: perl(Scalar::Util) >= 1.45 - -# Filter under-specified dependencies -%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((parent|Scalar::Util)\\)$ %description This implements a full-featured N-ary tree representation with configurable @@ -68,6 +66,9 @@ make test %{_mandir}/man3/* %changelog +* Thu Sep 15 2016 Petr Pisar <ppi...@redhat.com> - 1.09-2 +- Remove useless dependency version contrains (CPAN RT#117858) + * Thu Sep 15 2016 Petr Pisar <ppi...@redhat.com> - 1.09-1 - 1.09 bump -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Tree.git/commit/?h=master&id=11c78af7feb72d9fdb3ab4616d903fdd8e536e48 -- 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