Hello community,
here is the log from the commit of package perl-SDL for openSUSE:Factory
checked in at 2018-10-11 11:53:23
Comparing /work/SRC/openSUSE:Factory/perl-SDL (Old)
and /work/SRC/openSUSE:Factory/.perl-SDL.new (New)
Package is "perl-SDL"
Thu Oct 11 11:53:23 2018 rev:6 rq:640450 version:2.548
Changes:
--- /work/SRC/openSUSE:Factory/perl-SDL/perl-SDL.changes2014-06-16
21:31:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.perl-SDL.new/perl-SDL.changes 2018-10-11
11:54:22.438105785 +0200
@@ -1,0 +2,20 @@
+Sun Oct 7 16:13:50 UTC 2018 - Dirk Stoecker
+
+- Fix autogenerated changes
+
+---
+Sun May 20 05:50:55 UTC 2018 - co...@suse.com
+
+- updated to 2.548
+ see /usr/share/doc/packages/perl-SDL/CHANGELOG
+
+ * 2.548 May 19 2018
+ - Add version number to all modules [FROGGS]
+
+---
+Wed Feb 7 17:15:20 UTC 2018 - co...@suse.com
+
+- updated to 2.546
+ see /usr/share/doc/packages/perl-SDL/CHANGELOG
+
+---
Old:
SDL-2.544.tar.gz
New:
SDL-2.548.tar.gz
cpanspec.yml
Other differences:
--
++ perl-SDL.spec ++
--- /var/tmp/diff_new_pack.nDSvXF/_old 2018-10-11 11:54:24.202103542 +0200
+++ /var/tmp/diff_new_pack.nDSvXF/_new 2018-10-11 11:54:24.222103516 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-SDL
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,11 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-SDL
+Version:2.548
+Release:0
+%define cpan_name SDL
+Summary:SDL bindings to Perl
+License:LGPL-2.1-or-later
+Group: Development/Libraries/Perl
+Url:https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/F/FR/FROGGS/%{cpan_name}-%{version}.tar.gz
+Source1:cpanspec.yml
+Source2:perl-SDL.rpmlintrc
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: Mesa-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_Pango-devel
@@ -26,28 +37,21 @@
BuildRequires: libSDL_net-devel
BuildRequires: libSDL_sound-devel
BuildRequires: libSDL_ttf-devel
-BuildRequires: perl-YAML
-BuildRequires: perl(Alien::SDL)
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(Alien::SDL) >= 1.446
+BuildRequires: perl(CPAN) >= 1.92
BuildRequires: perl(Capture::Tiny)
-BuildRequires: perl(File::ShareDir)
-BuildRequires: perl(Module::Build) >= 0.4000
-BuildRequires: perl(Module::Metadata)
-BuildRequires: perl(Test::Most)
+BuildRequires: perl(ExtUtils::CBuilder) >= 0.260301
+BuildRequires: perl(File::ShareDir) >= 1.0
+BuildRequires: perl(Module::Build) >= 0.40
+BuildRequires: perl(Test::Most) >= 0.21
+BuildRequires: perl(Test::Simple) >= 0.88
BuildRequires: perl(Tie::Simple)
-Url:http://sdl.perl.org/
-Requires: perl = %{perl_version}
-Version:2.544
-Release:0
-Summary:Glue between Perl and SDL
-License:LGPL-2.1+ and OFL-1.1
-Group: System/Libraries
-Source0:
http://www.cpan.org/authors/id/F/FR/FROGGS/SDL-%{version}.tar.gz
-Source1:perl-SDL.rpmlintrc
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Provides: SDL_perl = %{version}
-Obsoletes: SDL_perl < 2.540
-Provides: perl-SDL_Perl = %{version}
-Obsoletes: perl-SDL_Perl < 2.540
+Requires: perl(CPAN) >= 1.92
+Requires: perl(File::ShareDir) >= 1.0
+Requires: perl(Tie::Simple)
+%{perl_requires}
%description
SDL Perl are a set of bindings to the Simple DirectMedia Layer (SDL).
@@ -59,33 +63,22 @@
"Civilization: Call To Power."
%prep
-%setup -q -n SDL-%{version}
+%setup -q -n %{cpan_name}-%{version}
%build
-perl Build.PL installdirs=vendor
-./Build
+%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
+./Build build flags=%{?_smp_mflags}
+
+%check
+./Build test
%install
-./Build destdir=%{buildroot} installdirs=vendor install
-%perl_process_packlist
+./Build install destdir=%{buildroot} create_packlist=0
+%perl_gen_filelist
-%files
-%defattr(-,root,root)
-%doc CHANGELOG COPYING README
-%{perl_vendorarch}/SDL