]> git.pld-linux.org Git - packages/perl-Alien-wxWidgets.git/commitdiff
- updated to 0.69 auto/th/perl-Alien-wxWidgets-0.69-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 May 2020 16:31:44 +0000 (18:31 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 May 2020 16:31:44 +0000 (18:31 +0200)
- added config patch (allow wx-*-config as wx-config names)

perl-Alien-wxWidgets-config.patch [new file with mode: 0644]
perl-Alien-wxWidgets.spec

diff --git a/perl-Alien-wxWidgets-config.patch b/perl-Alien-wxWidgets-config.patch
new file mode 100644 (file)
index 0000000..5005ca4
--- /dev/null
@@ -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 :
index 42e57e776813a7673817addfc7e8353e09211e43..236664547fc2b91422eb45441d5be3f1702e5b80 100644 (file)
 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
This page took 0.136863 seconds and 4 git commands to generate.