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
1 changed files with 9 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Summary: Tools for using the foomatic database of printers and printer drivers Summary: Tools for using the foomatic database of printers and printer drivers
Name: foomatic Name: foomatic
Version: %{enginever} Version: %{enginever}
Release: 8%{?dist} Release: 9%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -40,7 +40,10 @@ BuildRequires: mpage
# Make sure we get postscriptdriver tags. Safe to comment out when # Make sure we get postscriptdriver tags. Safe to comment out when
# bootstrapping a new architecture. # 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: foomatic-db
Requires: cups Requires: cups
@ -177,6 +180,10 @@ exit 0
%{_mandir}/man1/foomatic-rip.1* %{_mandir}/man1/foomatic-rip.1*
%changelog %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 * Tue Mar 13 2012 Jiri Popelka <jpopelka@redhat.com> - 4.0.8-8
- Updated filters to 4.0.13 - Updated filters to 4.0.13