- Use relative, not absolute, symlink for CUPS driver.

This commit is contained in:
Tim Waugh 2010-02-05 14:42:39 +00:00
parent 4383438c08
commit 89fc0b7301

View File

@ -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 <twaugh@redhat.com> - 4.0.3-13
- Use relative, not absolute, symlink for CUPS driver.
* Fri Feb 5 2010 Tim Waugh <twaugh@redhat.com> - 4.0.3-12
- Another rebuild.