Use perl_bootstrap macro to allow for easier perl bootstrapping (bug #810542).

This commit is contained in:
Tim Waugh 2012-04-10 11:58:04 +01:00
parent 70eee1d537
commit b8653ca9d2

View File

@ -4,7 +4,7 @@
Summary: Tools for using the foomatic database of printers and printer drivers
Name: foomatic
Version: %{enginever}
Release: 8%{?dist}
Release: 9%{?dist}
License: GPLv2+
Group: System Environment/Libraries
@ -40,7 +40,10 @@ BuildRequires: mpage
# Make sure we get postscriptdriver tags. Safe to comment out when
# bootstrapping a new architecture.
BuildRequires: python-cups, cups, foomatic, foomatic-db
BuildRequires: python-cups, cups
%if 0%{!?perl_bootstrap:1}
BuildRequires: foomatic, foomatic-db
%endif
Requires: foomatic-db
Requires: cups
@ -177,6 +180,10 @@ exit 0
%{_mandir}/man1/foomatic-rip.1*
%changelog
* Tue Apr 10 2012 Tim Waugh <twaugh@redhat.com> - 4.0.8-9
- Use perl_bootstrap macro to allow for easier perl bootstrapping
(bug #810542).
* Tue Mar 13 2012 Jiri Popelka <jpopelka@redhat.com> - 4.0.8-8
- Updated filters to 4.0.13