rpms/ant/devel ant.spec,1.96,1.97
Tom Callaway
spot at fedoraproject.org
Wed Oct 1 13:55:58 UTC 2008
Author: spot
Update of /cvs/pkgs/rpms/ant/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv876
Modified Files:
ant.spec
Log Message:
fix bogus perl requires/provides
Index: ant.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ant/devel/ant.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- ant.spec 26 Sep 2008 15:28:19 -0000 1.96
+++ ant.spec 1 Oct 2008 13:55:28 -0000 1.97
@@ -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 @@
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 @@
# -----------------------------------------------------------------------------
%changelog
+* Wed Oct 1 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0:1.7.1-7.2
+- Exclude bogus perl(the) Requires
+- Exclude bogus perl(oata), perl(examples) Provides
+
* Fri Sep 26 2008 Permaine Cheung <pcheung at redhat.com> 0:1.7.1-7.1
- Define with_gcj_support
More information about the scm-commits
mailing list