[perl-Text-Diff] Specify all dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 832455e6e94305b2d8f601ee93dfde1dadc4d861
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Jan 15 10:14:18 2015 +0100

    Specify all dependencies

 perl-Text-Diff.spec |   24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/perl-Text-Diff.spec b/perl-Text-Diff.spec
index f9f8fee..bb0fadd 100644
--- a/perl-Text-Diff.spec
+++ b/perl-Text-Diff.spec
@@ -1,24 +1,35 @@
 Name:           perl-Text-Diff
 Version:        1.41
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Perform diffs on files and record sets
 License:        (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Diff/
 Source0:        http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(constant)
-BuildRequires:  perl(Algorithm::Diff)
-BuildRequires:  perl(Carp)
-BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+# Run-time:
+BuildRequires:  perl(Algorithm::Diff) >= 1.19
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Optional run-time:
+BuildRequires:  perl(utf8)
+# Tests:
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(IO::File)
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Algorithm::Diff) >= 1.19
 
 %{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Algorithm::Diff\\)$
 
 %description
 Text::Diff provides a basic set of services akin to the GNU diff utility.
@@ -49,6 +60,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jan 15 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.41-10
+- Specify all dependencies
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.41-9
 - Perl 5.20 rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux