get rid of false provide.

epel9
Tom Callaway 19 years ago
parent d908b5511c
commit b2082f8f97

@ -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 <tcallawa@redhat.com> 0.08-4
- filter out false provide
* Fri Aug 5 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-3
- add BR: perl(Lingua::EN::Inflect) to improve test coverage
- add README to %doc

Loading…
Cancel
Save