diff --git a/foomatic.spec b/foomatic.spec index 9f345e5..723a8a9 100644 --- a/foomatic.spec +++ b/foomatic.spec @@ -4,7 +4,7 @@ Summary: Database of printers and printer drivers Name: foomatic Version: %{enginever} -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2+ Group: System Environment/Libraries @@ -53,8 +53,9 @@ Requires: fileutils initscripts # foomatic-filters checks for a conversion utility (bug #124931). BuildRequires: mpage -# Make sure we get postscriptdriver tags. -BuildRequires: pycups +# Make sure we get postscriptdriver tags. Safe to comment out when +# bootstrapping a new architecture. +BuildRequires: pycups, foomatic Requires: foomatic-db Requires: cups @@ -131,8 +132,9 @@ make DESTDIR=%buildroot PREFIX=%{_prefix} \ install popd -# Use relative, not absolute, symlink for CUPS filter. +# Use relative, not absolute, symlink for CUPS filter and driver. ln -sf ../../../bin/foomatic-rip %{buildroot}/usr/lib/cups/filter/foomatic-rip +ln -sf ../../../bin/foomatic-ppdfile %{buildroot}/usr/lib/cups/driver/foomatic mkdir -p $RPM_BUILD_ROOT%{_var}/cache/foomatic @@ -167,6 +169,9 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name} %{_var}/cache/foomatic %changelog +* Fri Feb 5 2010 Tim Waugh - 4.0.3-13 +- Use relative, not absolute, symlink for CUPS driver. + * Fri Feb 5 2010 Tim Waugh - 4.0.3-12 - Another rebuild.