diff --git a/perl-Alien-wxWidgets.spec b/perl-Alien-wxWidgets.spec index b96c4d8..675c358 100644 --- a/perl-Alien-wxWidgets.spec +++ b/perl-Alien-wxWidgets.spec @@ -25,7 +25,6 @@ License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Alien-wxWidgets/ Source: http://www.cpan.org/authors/id/M/MD/MDOOTSON/%{cpan_name}-%{version}.tar.gz -BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros @@ -34,6 +33,11 @@ BuildRequires: perl(Module::Build) >= 0.28 BuildRequires: perl(Module::Pluggable) >= 2.6 Requires: perl(Module::Pluggable) >= 2.6 %{perl_requires} +# MANUAL +Patch1: perl-Alien-wxWidgets-do_not_build_wxgtk.patch +Patch2: perl-Alien-wxWidgets-ignore_cbuilder_version.patch +BuildRequires: gcc-c++ +BuildRequires: wxWidgets-ansi-devel %description Please see the Alien manpage for the manifesto of the Alien namespace. @@ -43,10 +47,13 @@ settings from an installed wxWidgets. %prep %setup -q -n %{cpan_name}-%{version} +%patch1 -p0 +%patch2 -p0 find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor +yes no | %__perl ./Build.PL installdirs=vendor +yes no | ./Build ./Build build flags=%{?_smp_mflags} %check