Excluded the unversioned perl(AppConfig::State) provide.

epel9
Jose Pedro Oliveira 19 years ago
parent c0eb51d113
commit f36d4662a2

@ -1,6 +1,6 @@
Name: perl-AppConfig Name: perl-AppConfig
Version: 1.63 Version: 1.63
Release: 1%{?dist} Release: 2%{?dist}
Summary: Perl module for reading configuration files Summary: Perl module for reading configuration files
Group: Development/Libraries Group: Development/Libraries
@ -27,6 +27,14 @@ automatically become available through AppConfig.
%prep %prep
%setup -q -n AppConfig-%{version} %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 %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
@ -57,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sun Oct 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-2
- Excluded the unversioned perl(AppConfig::State) provide.
* Thu Aug 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-1 * Thu Aug 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.63-1
- Update to 1.63. - Update to 1.63.
- New upstream maintainer. - New upstream maintainer.

Loading…
Cancel
Save