[perl-YAML] Fix build and runtime dependencies

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

 



commit 48fd123ff83d853a4db030374bda66e1b84cae0f
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon Apr 23 13:11:31 2012 +0100

    Fix build and runtime dependencies
    
    - R: perl(Carp) and perl(Data::Dumper)
    - BR: perl(Carp), perl(constant) and perl(Exporter)
    - Release tests no longer shipped, so drop buildreqs for them and don't bother
      setting AUTOMATED_TESTING; run tests even when bootstrapping

 perl-YAML.spec |   26 ++++++++++++++++----------
 1 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/perl-YAML.spec b/perl-YAML.spec
index b989cd4..de75c06 100644
--- a/perl-YAML.spec
+++ b/perl-YAML.spec
@@ -1,18 +1,20 @@
 Name:           perl-YAML
 Version:        0.81
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        YAML Ain't Markup Language (tm)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/YAML/
 Source0:        http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
 BuildRequires:  perl(Data::Dumper)
-%if !%{defined perl_bootstrap}
-BuildRequires:  perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod)
-%endif
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Carp)
+Requires:       perl(Data::Dumper)
 
 %description
 The YAML.pm module implements a YAML Loader and Dumper based on the
@@ -49,9 +51,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-%if !%{defined perl_bootstrap}
-make test AUTOMATED_TESTING=1
-%endif
+make test
 
 %files
 %doc Changes README LICENSE
@@ -59,9 +59,15 @@ make test AUTOMATED_TESTING=1
 %{_mandir}/man3/YAML*.3*
 
 %changelog
+* Mon Apr 23 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.81-2
+- R: perl(Carp) and perl(Data::Dumper)
+- BR: perl(Carp), perl(constant) and perl(Exporter)
+- Release tests no longer shipped, so drop buildreqs for them and don't bother
+  setting AUTOMATED_TESTING; run tests even when bootstrapping
+
 * Mon Apr 23 2012 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.81-1
-- update to 0.81
-- add BR Data::Dumper
+- Update to 0.81
+- Add BR Data::Dumper
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.73-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_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