diff --git a/xsane.spec b/xsane.spec index d0fcba2..566e983 100644 --- a/xsane.spec +++ b/xsane.spec @@ -1,7 +1,7 @@ Name: xsane Summary: An X Window System front-end for the SANE scanner interface. Version: 0.84 -Release: 6 +Release: 8 Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz License: GPL URL: http://www.xsane.org/ @@ -20,7 +20,7 @@ performing the scan and then manipulating the captured image. %package gimp Summary: A GIMP plug-in which provides the SANE scanner interface. Group: Applications/Multimedia -Prereq: /usr/bin/gimp-config /usr/bin/awk sh-utils fileutils +Prereq: /usr/bin/awk sh-utils fileutils %description gimp This package provides the regular XSane frontend for the SANE scanner @@ -87,7 +87,9 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/xsane-gimp %post gimp -GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir` +if [ -x /usr/bin/gimp-config ]; then + GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir` +fi if [ -z "$GIMPPLUGINDIR" ]; then GIMPPLUGINDIR=/usr/lib/gimp/1.2 fi @@ -106,6 +108,9 @@ if [ $1 = 0 ]; then fi %changelog +* Fri Aug 30 2002 Tim Waugh 0.84-8 +- Don't require gimp-devel (cf. bug #70754). + * Tue Jul 23 2002 Tim Waugh 0.84-7 - Desktop file fixes (bug #69555).