[perl-Module-Build] Sub-package perl-inc-latest

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

 



commit fc9106206de7d20911ded6b2ec7aa54a4a6efefc
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Fri Jan 30 13:23:42 2015 +0100

    Sub-package perl-inc-latest

 perl-Module-Build.spec |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)
---
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index c5ad7c6..2625195 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -5,7 +5,7 @@
 Name:           perl-Module-Build
 Epoch:          2
 Version:        %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Build and install Perl modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -78,6 +78,7 @@ Requires:       perl(ExtUtils::Install) >= 0.3
 Requires:       perl(ExtUtils::Manifest) >= 1.54
 Requires:       perl(ExtUtils::Mkbootstrap)
 Requires:       perl(ExtUtils::ParseXS) >= 2.21
+Requires:       perl(inc::latest)
 Requires:       perl(Module::Metadata) >= 1.000002
 # Keep PAR support optional (PAR::Dist)
 Requires:       perl(Perl::OSType) >= 1
@@ -115,6 +116,17 @@ so even platforms like MacOS (traditional) can use it fairly easily. Its
 only prerequisites are modules that are included with perl 5.6.0, and it
 works fine on perl 5.005 if you can install a few additional modules.
 
+%package -n perl-inc-latest
+Summary:        Use modules bundled in inc/ if they are newer than installed ones
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(ExtUtils::Installed)
+Conflicts:      perl-Module-Build < 2:0.42.10-4
+
+%description -n perl-inc-latest
+The C<inc::latest> module helps bootstrap configure-time dependencies for
+CPAN distributions.  These dependencies get bundled into the C<inc>
+directory within a distribution and are used by Build.PL (or Makefile.PL).
+
 %prep
 %setup -q -n Module-Build-%{cpan_version}
 
@@ -133,11 +145,19 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
 %files
 %doc Changes contrib LICENSE README
 %{_bindir}/config_data
-%{perl_vendorlib}/*
-%{_mandir}/man1/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Module
+%{_mandir}/man1/config_data*
+%{_mandir}/man3/Module::Build*
+
+%files -n perl-inc-latest
+%{perl_vendorlib}/inc
+%{_mandir}/man3/inc::latest*
+
 
 %changelog
+* Fri Jan 30 2015 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 2:0.42.10-4
+- Sub-package perl-inc-latest
+
 * Thu Dec 11 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 2:0.42.10-3
 - Disable File::ShareDir optional tests when bootstrapping
 
--
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