diff --git a/foomatic.spec b/foomatic.spec index 2bb8fa7..87157e7 100644 --- a/foomatic.spec +++ b/foomatic.spec @@ -6,7 +6,7 @@ Summary: Foomatic printer database. Name: foomatic Version: 3.0.1 -Release: 2 +Release: 3 License: GPL Group: System Environment/Libraries @@ -46,10 +46,14 @@ Patch9: foomatic-printoutmode.patch # Fix Omni PageSize problem (bug #115586). Patch10: foomatic-db-engine-db-pm-omni-0.9.1.patch +# Fix deprecated cast-as-lvalues. +Patch11: foomatic-3.0.1-lvalue.patch + Url: http://www.linuxprinting.org BuildRequires: perl >= 3:5.8.1 BuildRequires: libxml2-devel Requires: perl >= 3:5.8.1 +Requires: %(eval `perl -V:version`; echo "perl(:MODULE_COMPAT_$version)") BuildRoot: %_tmppath/%name-%version-%release-root Provides: perl(Foomatic::GrovePath) Requires: perl-libxml-enno >= 1.02 @@ -95,6 +99,7 @@ chmod a+x mkinstalldirs %patch2 -p1 -b .libdir %patch6 -p1 -b .ppdload %patch10 -p1 -b .db-pm-omni-0.9.1 +%patch11 -p1 -b .lvalue ./make_configure popd @@ -244,6 +249,12 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name} %{_mandir}/*/* %changelog +* Mon Apr 19 2004 Tim Waugh 3.0.1-3 +- Require appropriate perl(:MODULE_COMPAT_...) symbol (bug #121131). + +* Wed Mar 10 2004 Tim Waugh +- Fix deprecated cast-as-lvalues. + * Thu Mar 4 2004 Tim Waugh 3.0.1-2 - Fix Omni PageSize problem (bug #115586).