- Use relative, not absolute, symlink for CUPS driver.
This commit is contained in:
parent
4383438c08
commit
89fc0b7301
@ -4,7 +4,7 @@
|
|||||||
Summary: Database of printers and printer drivers
|
Summary: Database of printers and printer drivers
|
||||||
Name: foomatic
|
Name: foomatic
|
||||||
Version: %{enginever}
|
Version: %{enginever}
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
@ -53,8 +53,9 @@ Requires: fileutils initscripts
|
|||||||
# foomatic-filters checks for a conversion utility (bug #124931).
|
# foomatic-filters checks for a conversion utility (bug #124931).
|
||||||
BuildRequires: mpage
|
BuildRequires: mpage
|
||||||
|
|
||||||
# Make sure we get postscriptdriver tags.
|
# Make sure we get postscriptdriver tags. Safe to comment out when
|
||||||
BuildRequires: pycups
|
# bootstrapping a new architecture.
|
||||||
|
BuildRequires: pycups, foomatic
|
||||||
|
|
||||||
Requires: foomatic-db
|
Requires: foomatic-db
|
||||||
Requires: cups
|
Requires: cups
|
||||||
@ -131,8 +132,9 @@ make DESTDIR=%buildroot PREFIX=%{_prefix} \
|
|||||||
install
|
install
|
||||||
popd
|
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-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
|
mkdir -p $RPM_BUILD_ROOT%{_var}/cache/foomatic
|
||||||
|
|
||||||
@ -167,6 +169,9 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
|||||||
%{_var}/cache/foomatic
|
%{_var}/cache/foomatic
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 5 2010 Tim Waugh <twaugh@redhat.com> - 4.0.3-12
|
||||||
- Another rebuild.
|
- Another rebuild.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user