[perl-Alien-SDL] 1.442 bump

Jitka Plesnikova jplesnik at fedoraproject.org
Tue Apr 29 13:55:55 UTC 2014


commit 82ed3ac04df6a78d34bd7785ef54a62ea96d1a6d
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Tue Apr 29 15:55:50 2014 +0200

    1.442 bump

 .gitignore                                         |    1 +
 Alien-SDL-1.442-Fix-getting-options-Build-PL.patch |   25 ++++++++++++++++++++
 perl-Alien-SDL.spec                                |   20 +++++++++++++--
 sources                                            |    2 +-
 4 files changed, 44 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ab448d4..5420adc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /Alien-SDL-1.436.tar.gz
 /Alien-SDL-1.438.tar.gz
 /Alien-SDL-1.440.tar.gz
+/Alien-SDL-1.442.tar.gz
diff --git a/Alien-SDL-1.442-Fix-getting-options-Build-PL.patch b/Alien-SDL-1.442-Fix-getting-options-Build-PL.patch
new file mode 100644
index 0000000..a9ca16d
--- /dev/null
+++ b/Alien-SDL-1.442-Fix-getting-options-Build-PL.patch
@@ -0,0 +1,25 @@
+diff -up Alien-SDL-1.442/Build.PL.orig Alien-SDL-1.442/Build.PL
+--- Alien-SDL-1.442/Build.PL.orig	2014-04-22 23:46:58.000000000 +0200
++++ Alien-SDL-1.442/Build.PL	2014-04-29 14:22:54.788331279 +0200
+@@ -6,9 +6,7 @@ use File::Spec::Functions qw(catdir catf
+ use Config;
+ use My::Utility qw(check_config_script check_prebuilt_binaries check_prereqs_libs check_prereqs_tools $source_packs);
+ 
+-use Getopt::Long;
+ my ( $ans, $travis ) = 0;
+-GetOptions( "travis" => \$travis );
+ 
+ print "Welcome to Alien::SDL module installation\n";
+ print "-----------------------------------------\n";
+@@ -97,7 +95,10 @@ my $build = $package->new(
+       repository => 'http://github.com/PerlGameDev/Alien-SDL'
+     }
+   },
+-  get_options => { 'with-sdl-config' => { qw(type :s  store) => \$sdl_config } },
++  get_options => { 
++    'with-sdl-config' => { qw(type :s  store) => \$sdl_config },
++    'travis' => { qw(type :n store) => \$travis },
++  },
+   dynamic_config => 1,
+   create_readme => 1,
+   share_dir => 'sharedir',
diff --git a/perl-Alien-SDL.spec b/perl-Alien-SDL.spec
index b404ca4..eb70c6b 100644
--- a/perl-Alien-SDL.spec
+++ b/perl-Alien-SDL.spec
@@ -1,11 +1,12 @@
 Name:           perl-Alien-SDL
-Version:        1.440
-Release:        3%{?dist}
+Version:        1.442
+Release:        1%{?dist}
 Summary:        Building, finding and using SDL binaries
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Alien-SDL/
 Source0:        http://www.cpan.org/authors/id/F/FR/FROGGS/Alien-SDL-%{version}.tar.gz
+Patch0:         Alien-SDL-1.442-Fix-getting-options-Build-PL.patch
 BuildArch:      noarch
 BuildRequires:  SDL_image-devel
 BuildRequires:  SDL_mixer-devel
@@ -18,17 +19,26 @@ BuildRequires:  perl(Archive::Extract)
 # Not needed (https://github.com/PerlGameDev/SDL/issues/234):
 # Archive::Tar
 # Archive::Zip
+BuildRequires:  perl(base)
+BuildRequires:  perl(Config)
 BuildRequires:  perl(Digest::SHA)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(ExtUtils::Command)
+BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(File::Fetch) >= 0.24
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Path) >= 2.08
+BuildRequires:  perl(File::ShareDir)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(File::Which)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Text::Patch) >= 1.4
+BuildRequires:  perl(warnings)
 # Run-time:
 BuildRequires:  perl(Capture::Tiny)
 BuildRequires:  perl(File::ShareDir) >= 1.00
@@ -50,6 +60,7 @@ from source codes.
 %prep
 %setup -q -n Alien-SDL-%{version}
 sed -i 's/\r//' README
+%patch0 -p1
 
 %build
 perl Build.PL installdirs=vendor --with-sdl-config
@@ -69,6 +80,9 @@ perl Build.PL installdirs=vendor --with-sdl-config
 %{_bindir}/*
 
 %changelog
+* Thu Apr 24 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.442-1
+- 1.442 bump
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.440-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -90,7 +104,7 @@ perl Build.PL installdirs=vendor --with-sdl-config
 * Thu Jun 28 2012 Petr Pisar <ppisar at redhat.com> - 1.436-2
 - Perl 5.16 rebuild
 
-* Thu Jun 25 2012 Jitka Plesnikova <jplesnik at redhat.com> - 1.436-1
+* Mon Jun 25 2012 Jitka Plesnikova <jplesnik at redhat.com> - 1.436-1
 - 1.436 bump
 
 * Sun Jun 17 2012 Petr Pisar <ppisar at redhat.com> - 1.434-2
diff --git a/sources b/sources
index 7594811..0e784c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ad665d058d186e673114024ba10dfa09  Alien-SDL-1.440.tar.gz
+bb8e613583f136363a5352b5398db715  Alien-SDL-1.442.tar.gz



More information about the perl-devel mailing list