[perl-JSON-PP] Disable non-core dependencies when bootstraping a core module

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

 



commit 3657f6ca74b4be2b6c9ba4b1bad4363087cb25f1
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Dec 11 15:52:58 2014 +0100

    Disable non-core dependencies when bootstraping a core module

 perl-JSON-PP.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-JSON-PP.spec b/perl-JSON-PP.spec
index 2ba5c3d..682342d 100644
--- a/perl-JSON-PP.spec
+++ b/perl-JSON-PP.spec
@@ -1,6 +1,6 @@
 Name:		perl-JSON-PP
 Version:	2.27300
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	JSON::XS compatible pure-Perl module
 License:	GPL+ or Artistic
 Group:		Development/Libraries
@@ -34,7 +34,11 @@ BuildRequires:	perl(Getopt::Long)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Tie::Array)
 BuildRequires:	perl(Tie::Hash)
+# Optional tests
+%if !%{defined perl_bootstrap}
+# Disable non-core dependencies when bootstraping a core module
 BuildRequires:	perl(Tie::IxHash)
+%endif
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:	perl(Data::Dumper)
@@ -80,6 +84,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/JSON::PP::Boolean.3pm*
 
 %changelog
+* Thu Dec 11 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 2.27300-2
+- Disable non-core dependencies when bootstraping a core module
+
 * Wed Oct  8 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 2.27300-1
 - Update to 2.27300
   - Fixed a problem about substr in perl 5.8.6 and below
--
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