diff --git a/ant.spec b/ant.spec index e08ab5c..801dc55 100644 --- a/ant.spec +++ b/ant.spec @@ -55,7 +55,7 @@ Name: ant Version: 1.7.1 -Release: 7.1%{?dist} +Release: 7.2%{?dist} Epoch: 0 Summary: Ant build tool for java Summary(it): Tool per la compilazione di programmi java @@ -517,6 +517,23 @@ mv KEYS.utf8 KEYS iconv LICENSE -f iso-8859-1 -t utf-8 -o LICENSE.utf8 mv LICENSE.utf8 LICENSE +# Provides: exclude perl(oata), perl(examples) +cat <<__EOF__ > %{name}-perl.prov +#!/bin/sh +/usr/lib/rpm/perl.prov \$* | grep -v '^perl(oata)$' | grep -v '^perl(examples)$' +__EOF__ +%define __perl_provides %{_builddir}/apache-ant-%{cvs_version}/%{name}-perl.prov +chmod +x %{__perl_provides} + + +# Requires: exclude bogus perl(the) +cat <<__EOF__ > %{name}-perl.req +#!/bin/sh +/usr/lib/rpm/perl.req \$* | grep -v '^perl(the)$' +__EOF__ +%define __perl_requires %{_builddir}/apache-ant-%{cvs_version}/%{name}-perl.req +chmod +x %{__perl_requires} + # ----------------------------------------------------------------------------- %build @@ -1275,6 +1292,10 @@ fi # ----------------------------------------------------------------------------- %changelog +* Wed Oct 1 2008 Tom "spot" Callaway 0:1.7.1-7.2 +- Exclude bogus perl(the) Requires +- Exclude bogus perl(oata), perl(examples) Provides + * Fri Sep 26 2008 Permaine Cheung 0:1.7.1-7.1 - Define with_gcj_support