diff --git a/cpanspec.yml b/cpanspec.yml index a2715bf..63943e4 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -10,7 +10,11 @@ patches: preamble: |- BuildRequires: gcc-c++ + %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 + BuildRequires: wxWidgets-3_0-nostl-devel + %else BuildRequires: wxWidgets-ansi-devel + %endif post_prep: |- # this copy of GNU patch is only used on win32, remove it for license clarity # see https://build.opensuse.org/request/show/237465 diff --git a/perl-Alien-wxWidgets.changes b/perl-Alien-wxWidgets.changes index 5ad1348..d151e71 100644 --- a/perl-Alien-wxWidgets.changes +++ b/perl-Alien-wxWidgets.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 13 15:11:39 UTC 2016 - stefan.bruens@rwth-aachen.de + +- updated wxWidgets requirements from 2.8 to 3.0 for + distribution versions providing wxWidgets-3_0-nostl. + ------------------------------------------------------------------- Tue Apr 14 08:45:38 UTC 2015 - coolo@suse.com diff --git a/perl-Alien-wxWidgets.spec b/perl-Alien-wxWidgets.spec index 2f7215f..fab6f40 100644 --- a/perl-Alien-wxWidgets.spec +++ b/perl-Alien-wxWidgets.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Alien-wxWidgets # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -34,13 +34,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::CBuilder) >= 0.24 -BuildRequires: perl(Module::Build) >= 0.28 +BuildRequires: perl(Module::Build) >= 0.280000 BuildRequires: perl(Module::Pluggable) >= 2.6 Requires: perl(Module::Pluggable) >= 2.6 %{perl_requires} # MANUAL BEGIN BuildRequires: gcc-c++ +%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 +BuildRequires: wxWidgets-3_0-nostl-devel +%else BuildRequires: wxWidgets-ansi-devel +%endif # MANUAL END %description