https://bugzilla.redhat.com/show_bug.cgi?id=1568834



--- Comment #5 from Olivier LAHAYE <olivier.laha...@free.fr> ---
Why do you patch test files while ENABLE_GUI_TESTS:BOOL exists in cmake files?
-DENABLE_GUI_TESTS=OFF works.

Now I've been able to build the package for CentOS-6 with:
    -DWITH_QScintilla=OFF \
    -DWITH_Qwt5=OFF \

What I did:
%{cmake_kde4} \
    -DCUSTOM_PERL_SITE_ARCH_DIR=%{perl_vendorarch} \
    -DCMAKE_SKIP_RPATH=YES \
    -DENABLE_GUI_TESTS=YES \
%if 0%{?el6}
    -DWITH_QScintilla=OFF \
    -DWITH_Qwt5=OFF \
%endif
%if !%{with perl_Qt_enables_x11_test}
    -DENABLE_GUI_TESTS=OFF \
%endif

Also add to fix the %licence which is broken on CentOS-6
(https://bugzilla.redhat.com/show_bug.cgi?id=1386639 not fixed in CentOS-6)

%if ! 0%{?el6}
%license LICENSE*
%else
%doc LICENSE*
%endif

Whith those 2 modifications, the package builds fine with epel6 stadanrd
packages (smokeqt-devel-4.7.3-6.3.x86_64 smokegen-devel-4.7.3-4.3.x86_64 ...)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to