commit 803c6e625a53e5313f5a4fc7f85c699c97bb10a2 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Jun 19 14:44:09 2012 +0200 Specify all dependencies perl-YAML-Syck.spec | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) --- diff --git a/perl-YAML-Syck.spec b/perl-YAML-Syck.spec index 308358e..e59f363 100644 --- a/perl-YAML-Syck.spec +++ b/perl-YAML-Syck.spec @@ -7,10 +7,27 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/YAML-Syck/ Source0: http://www.cpan.org/authors/id/A/AV/AVAR/YAML-Syck-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: perl(Devel::Leak) +# Keep bundled inc::Module::Install to break cycle perl-Modules-Install +# → perl-YAML-Tiny → perl-YAML-Syck. +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(JSON) +# Run-time +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(XSLoader) +# Tests +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(IO::File) +BuildRequires: perl(Storable) BuildRequires: perl(Test::More) +BuildRequires: perl(Tie::Hash) +# Optional tests +BuildRequires: perl(Devel::Leak) +BuildRequires: perl(JSON) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} @@ -22,6 +39,7 @@ structures to YAML strings, and the other way around. %prep %setup -q -n YAML-Syck-%{version} +rm -rf inc/parent inc/PerlIO.pm inc/Test %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -55,6 +73,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Sat Jun 16 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.17-5 - Perl 5.16 rebuild +- Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.17-4 - 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