From b2082f8f970da804e7dac9e2282ea723416d70cb Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 11 Sep 2006 18:50:30 +0000 Subject: [PATCH] get rid of false provide. --- perl-UNIVERSAL-moniker.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/perl-UNIVERSAL-moniker.spec b/perl-UNIVERSAL-moniker.spec index c4f9e17..31059f9 100644 --- a/perl-UNIVERSAL-moniker.spec +++ b/perl-UNIVERSAL-moniker.spec @@ -1,6 +1,6 @@ Name: perl-UNIVERSAL-moniker Version: 0.08 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Real world naming for classes Group: Development/Libraries License: GPL or Artistic @@ -19,6 +19,14 @@ guess at what they would be called in the real world. %prep %setup -q -n UNIVERSAL-moniker-%{version} +cat << \EOF > %{name}-prov +#!/bin/sh +%{__perl_provides} $* |\ + sed -e '/^perl(UNIVERSAL)$/d' +EOF +%define __perl_provides %{_builddir}/UNIVERSAL-moniker-%{version}/%{name}-prov +chmod +x %{__perl_provides} + %build %{__perl} Makefile.PL INSTALLDIRS=vendor make @@ -44,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Sep 11 2006 Tom "spot" Callaway 0.08-4 +- filter out false provide + * Fri Aug 5 2005 Tom "spot" Callaway 0.08-3 - add BR: perl(Lingua::EN::Inflect) to improve test coverage - add README to %doc