Description of problem: When %build_with_ijs_support is set to 0 (for bootstrapping gimp-print for ghostscript), the build fails because of an unpackaged file "ijsgimpprint.1", that seems to be generated anyway. So, the "%endif" in the %files section of the spec file should be moved one line up. Version-Release number of selected component (if applicable): 4.2.4-5
Works for me: this file is removed at the end of the %install section.
Not in the 4.2.4-5 gimp-print.spec file as included in the RHEL 3 source rpm. This is the %install section: ------------------------------------------------------------------ %install rm -rf %{buildroot} %makeinstall cups_prefix=%{buildroot}%{_prefix} \ cups_exec_prefix=%{buildroot}%{_exec_prefix} \ cups_bindir=%{buildroot}%{_bindir} \ cups_conf_datadir=%{buildroot}%{_datadir}/cups \ cups_conf_serverbin=%{buildroot}%{_libdir}/cups \ cups_conf_serverroot=%{buildroot}%{_sysconfdir}/cups for ver in %{_libdir}/gimp/* do mkdir -p %{buildroot}$ver/plug-ins install -m0755 src/gimp/.libs/print %{buildroot}$ver/plug-ins/print done # Don't install this, since we don't list it in the manifest. rm -f %{buildroot}%{_infodir}/dir %find_lang %{name} ------------------------------------------------------------------
Ah. Well, it's fixed in Fedora Core 1.