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

Tim Waugh twaugh at fedoraproject.org
Tue Apr 10 11:11:22 UTC 2012


commit b8653ca9d2e394fe09ccdb43a3db1deebfe2c9ad
Author: Tim Waugh <twaugh at redhat.com>
Date:   Tue Apr 10 11:58:04 2012 +0100

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

 foomatic.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/foomatic.spec b/foomatic.spec
index b5ffc67..1bc907b 100644
--- a/foomatic.spec
+++ b/foomatic.spec
@@ -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 at 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 at redhat.com> - 4.0.8-8
 - Updated filters to 4.0.13
 


More information about the scm-commits mailing list