[perl-PPIx-Regexp] Specify all dependencies

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

 



commit 3b707aa5f140f7acf43d1d286deed0a1694e2455
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri May 24 11:08:50 2013 +0200

    Specify all dependencies

 perl-PPIx-Regexp.spec |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/perl-PPIx-Regexp.spec b/perl-PPIx-Regexp.spec
index 5c4bac7..f4f672b 100644
--- a/perl-PPIx-Regexp.spec
+++ b/perl-PPIx-Regexp.spec
@@ -1,6 +1,6 @@
 Name:           perl-PPIx-Regexp
 Version:        0.034
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Represent a regular expression of some sort
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -12,6 +12,8 @@ BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 BuildRequires:  perl(YAML)
 # Run-time:
 BuildRequires:  perl(constant)
@@ -21,10 +23,15 @@ BuildRequires:  perl(List::Util)
 BuildRequires:  perl(PPI::Document) >= 1.117
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Task::Weaken)
+# Optional run-time:
+BuildRequires:  perl(Encode)
 # Tests:
 BuildRequires:  perl(Test::More) >= 0.88
-# Text::CSV is never required
+# Optional testsL
+BuildRequires:  perl(charnames)
+# Text::CSV is not used
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Encode is optional.
 Requires:       perl(Exporter)
 Requires:       perl(PPI::Document) >= 1.117
 Requires:       perl(Task::Weaken)
@@ -39,7 +46,7 @@ root of the parse tree, playing a role similar to PPI::Document.
 %prep
 %setup -q -n PPIx-Regexp-%{version}
 chmod -x eg/*
-sed -i '1 s|/usr/local/bin/perl|/usr/bin/perl|' eg/*
+sed -i '1 s|/usr/local/bin/perl|%{__perl}|' eg/*
 
 %build
 perl Build.PL installdirs=vendor
@@ -58,6 +65,9 @@ perl Build.PL installdirs=vendor
 %{_mandir}/man3/*
 
 %changelog
+* Fri May 24 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.034-2
+- Specify all dependencies
+
 * Mon May 13 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.034-1
 - 0.034 bump
 
--
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