diff --git a/gimp.spec b/gimp.spec index 21117eb..022247a 100644 --- a/gimp.spec +++ b/gimp.spec @@ -4,12 +4,12 @@ # # modular_x: modular X deps # lcms: lcms support -# gutenprint: require gutenprint-plugin (instead of gimp-print-plugin) if -# internal print plugin isn't built # python: python support # mp: multi processor support # static: build static libraries # print: build the print plugin (if you don't build it externally) +# gutenprint: require gutenprint-plugin (instead of gimp-print-plugin) if +# internal print plugin isn't built # convenience: install convenience symlinks %if 0%{?fedora}%{?rhel} == 0 || 0%{?fedora} >= 5 || 0%{?rhel} >= 5 @@ -29,7 +29,7 @@ %endif %if 0%{?fedora}%{?rhel} == 0 || 0%{?fedora} >= 8 || 0%{?rhel} >= 6 -%define _enable_print 0%{?_without_print:1} +%define _enable_print 0%{!?_without_print:1} %else %define _enable_print 0%{?_with_print:1} %endif @@ -51,7 +51,7 @@ Version: 2.4.2 %define age 0 %define minorver 400 %define microver %(ver=%{version}; echo ${ver##*.*.}) -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 2 License: GPLv2+ Group: Applications/Multimedia @@ -169,7 +169,10 @@ build static libs: %_enable_static build internal print plugin: %_enable_print include convenience symlinks: %_enable_convenience build the print plugin: %_enable_print -prefer gutenprint over gimp-print plugin: %_enable_gutenprint +%if ! %_enable_print +prefer gutenprint over (external) gimp-print plugin: + %_enable_gutenprint +%endif use xdg-open instead of htmlview: %_enable_xdg_open @@ -442,6 +445,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Wed Nov 28 2007 Nils Philippsen - 2:2.4.2-2 +- fix typo to build internal print plugin from F8 onwards (#401931) + * Thu Nov 22 2007 Nils Philippsen - 2:2.4.2-1 - version 2.4.2