From 6f261b41ebe35c01726c8616ea0fb561a9c7563c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 14 Oct 2015 16:55:07 +0200
Subject: Specify all dependencies

---
 perl-SDL.spec | 54 ++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 38 insertions(+), 16 deletions(-)

diff --git a/perl-SDL.spec b/perl-SDL.spec
index 61ac091..7d2ad99 100644
--- a/perl-SDL.spec
+++ b/perl-SDL.spec
@@ -1,47 +1,65 @@
 Name:           perl-SDL
 Version:        2.546
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Simple DirectMedia Layer for Perl
 Group:          Development/Libraries
 License:        LGPLv2+
 URL:            http://sdl.perl.org/
 Source0:        
http://www.cpan.org/authors/id/F/FR/FROGGS/SDL-%{version}.tar.gz
+BuildRequires:  coreutils
+BuildRequires:  findutils
 BuildRequires:  libGLU-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
+BuildRequires:  perl
+BuildRequires:  perl-devel
+BuildRequires:  perl(Alien::SDL) >= 1.446
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(ExtUtils::Install)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 BuildRequires:  SDL_gfx-devel
 BuildRequires:  SDL_image-devel
 BuildRequires:  SDL_mixer-devel
 BuildRequires:  SDL_net-devel
 BuildRequires:  SDL_Pango-devel
 BuildRequires:  SDL_ttf-devel
-BuildRequires:  perl(Alien::SDL) >= 1.444
+BuildRequires:  sed
+# Run-time:
 BuildRequires:  perl(Archive::Zip)
-BuildRequires:  perl(base)
-BuildRequires:  perl(Capture::Tiny)
-BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
-BuildRequires:  perl(CPAN) >= 1.92
 BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(Encode)
+BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::CBuilder)
+# ExtUtils::CBuilder::Base not used at tests
+BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::ShareDir) >= 1.0
-BuildRequires:  perl(File::Spec)
-BuildRequires:  perl(lib)
 BuildRequires:  perl(List::Util)
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(overload)
 BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Tie::Array)
+BuildRequires:  perl(Tie::Simple)
+BuildRequires:  perl(Time::HiRes)
+BuildRequires:  perl(vars)
+# Tests:
+BuildRequires:  perl(bytes)
+BuildRequires:  perl(Capture::Tiny)
+BuildRequires:  perl(Devel::Peek)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Most) >= 0.21
-BuildRequires:  perl(Test::Simple) >= 0.88
 BuildRequires:  perl(threads)
 BuildRequires:  perl(threads::shared)
-BuildRequires:  perl(Tie::Simple)
-BuildRequires:  perl(Time::HiRes)
-Requires:       perl(CPAN) >= 1.92
-Requires:       perl(File::ShareDir) >= 1.0
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(ExtUtils::CBuilder::Base)
+Requires:       perl(File::ShareDir) >= 1.0
 
 %define _use_internal_dependency_generator 0
 %{?perl_default_filter}
@@ -65,6 +83,7 @@ cd ..
 sed -i -e 's|lib/pods|lib|' MANIFEST
 # Disable the sdlx_controller_interface.t test, it hangs on arm
 rm t/sdlx_controller_interface.t
+sed -i -e '/t\/sdlx_controller_interface\.t/d' MANIFEST
 
 %build
 perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
@@ -87,6 +106,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Wed Oct 14 2015 Petr Pisar <ppi...@redhat.com> - 2.546-4
+- Specify all dependencies
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 2.546-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-SDL.git/commit/?h=master&id=6f261b41ebe35c01726c8616ea0fb561a9c7563c
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to