diff --git a/perl-AppConfig.spec b/perl-AppConfig.spec index a415307..0bcacdc 100644 --- a/perl-AppConfig.spec +++ b/perl-AppConfig.spec @@ -1,6 +1,6 @@ Name: perl-AppConfig Version: 1.63 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl module for reading configuration files Group: Development/Libraries @@ -27,6 +27,14 @@ automatically become available through AppConfig. %prep %setup -q -n AppConfig-%{version} +# Provides: exclude perl(AppConfig::State) +cat <<__EOF__ > %{name}-perl.prov +#!/bin/sh +/usr/lib/rpm/perl.prov \$* | grep -v '^perl(AppConfig::State)$' +__EOF__ +%define __perl_provides %{_builddir}/AppConfig-%{version}/%{name}-perl.prov +chmod +x %{__perl_provides} + %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -57,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Oct 8 2006 Jose Pedro Oliveira - 1.63-2 +- Excluded the unversioned perl(AppConfig::State) provide. + * Thu Aug 3 2006 Jose Pedro Oliveira - 1.63-1 - Update to 1.63. - New upstream maintainer.