From: Jakub Bogusz Date: Sat, 2 May 2020 16:31:44 +0000 (+0200) Subject: - updated to 0.69 X-Git-Tag: auto/th/perl-Alien-wxWidgets-0.69-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=7f333a93641a1f5dddb149f0b0c038dbafdaf195;p=packages%2Fperl-Alien-wxWidgets.git - updated to 0.69 - added config patch (allow wx-*-config as wx-config names) --- diff --git a/perl-Alien-wxWidgets-config.patch b/perl-Alien-wxWidgets-config.patch new file mode 100644 index 0000000..5005ca4 --- /dev/null +++ b/perl-Alien-wxWidgets-config.patch @@ -0,0 +1,11 @@ +--- Alien-wxWidgets-0.69/Build.PL.orig 2020-05-02 18:18:30.077537675 +0200 ++++ Alien-wxWidgets-0.69/Build.PL 2020-05-02 18:20:35.020194136 +0200 +@@ -155,7 +155,7 @@ + require My::Build::Base; + + my $env_wxconfig = $ENV{WX_CONFIG}; +- if ( $env_wxconfig && !-e $env_wxconfig && $env_wxconfig !~ /wx-config$/ ) { ++ if ( $env_wxconfig && !-e $env_wxconfig && $env_wxconfig !~ /wx.*-config$/ ) { + print STDERR qq( + ============================================================================= + The specified environment WX_CONFIG does not appear to be a valid wx-config : diff --git a/perl-Alien-wxWidgets.spec b/perl-Alien-wxWidgets.spec index 42e57e7..2366645 100644 --- a/perl-Alien-wxWidgets.spec +++ b/perl-Alien-wxWidgets.spec @@ -12,21 +12,23 @@ Summary: Alien::wxWidgets - building, finding and using wxWidgets binaries Summary(pl.UTF-8): Alien::wxWidgets - budowanie, znajdowanie i wykorzystywanie binariów wxWidgets Name: perl-Alien-wxWidgets -Version: 0.67 -Release: 7 +Version: 0.69 +Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Alien/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: 510a7817fdaf59089b50a877a621d770 +# Source0-md5: 4edfec992976b71333699a84d07c8aa6 Patch0: %{name}-nobuild.patch -URL: http://search.cpan.org/dist/Alien-wxWidgets/ +Patch1: %{name}-config.patch +URL: https://metacpan.org/release/Alien-wxWidgets BuildRequires: perl-ExtUtils-CBuilder >= 0.24 BuildRequires: perl-Module-Build >= 0.28 BuildRequires: perl-Module-Pluggable >= 3.1-4 BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: perl(File::Spec) >= 1.50 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.745 %if %{with gtk2} %if %{with ansi} BuildRequires: wxGTK2-devel >= 2.6.3 @@ -68,6 +70,7 @@ zainstalować prywatną kopię wxWidgets jako część procesu budowania. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %patch0 -p1 +%patch1 -p1 %build for toolkit in %{?with_gtk2:gtk2} %{?with_gtk3:gtk3} ; do