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
This commit is contained in:
parent
13b616a70e
commit
48fd123ff8
|
@ -1,18 +1,20 @@
|
||||||
Name: perl-YAML
|
Name: perl-YAML
|
||||||
Version: 0.81
|
Version: 0.81
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: YAML Ain't Markup Language (tm)
|
Summary: YAML Ain't Markup Language (tm)
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/YAML/
|
URL: http://search.cpan.org/dist/YAML/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
%if !%{defined perl_bootstrap}
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
%endif
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
Requires: perl(Carp)
|
||||||
|
Requires: perl(Data::Dumper)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The YAML.pm module implements a YAML Loader and Dumper based on the
|
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/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if !%{defined perl_bootstrap}
|
make test
|
||||||
make test AUTOMATED_TESTING=1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes README LICENSE
|
%doc Changes README LICENSE
|
||||||
|
@ -59,9 +59,15 @@ make test AUTOMATED_TESTING=1
|
||||||
%{_mandir}/man3/YAML*.3*
|
%{_mandir}/man3/YAML*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> - 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@redhat.com> - 0.81-1
|
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.81-1
|
||||||
- update to 0.81
|
- Update to 0.81
|
||||||
- add BR Data::Dumper
|
- Add BR Data::Dumper
|
||||||
|
|
||||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-3
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue