|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: perl-UNIVERSAL-moniker
|
|
|
|
Name: perl-UNIVERSAL-moniker
|
|
|
|
Version: 0.08
|
|
|
|
Version: 0.08
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Release: 14%{?dist}
|
|
|
|
Summary: Real world naming for classes
|
|
|
|
Summary: Real world naming for classes
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
@ -11,6 +11,9 @@ BuildArch: noarch
|
|
|
|
BuildRequires: perl(Test::More), perl(Lingua::EN::Inflect)
|
|
|
|
BuildRequires: perl(Test::More), perl(Lingua::EN::Inflect)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Filter bogus provide for perl(UNIVERSAL) (rpm 4.9 onwards)
|
|
|
|
|
|
|
|
%global __provides_exclude ^perl\\(UNIVERSAL\\)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
UNIVERSAL::moniker enables classes to make a good
|
|
|
|
UNIVERSAL::moniker enables classes to make a good
|
|
|
|
guess at what they would be called in the real world.
|
|
|
|
guess at what they would be called in the real world.
|
|
|
@ -18,13 +21,9 @@ guess at what they would be called in the real world.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n UNIVERSAL-moniker-%{version}
|
|
|
|
%setup -q -n UNIVERSAL-moniker-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
cat << \EOF > %{name}-prov
|
|
|
|
# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9)
|
|
|
|
#!/bin/sh
|
|
|
|
%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'"
|
|
|
|
%{__perl_provides} $* |\
|
|
|
|
%define __perl_provides %{provfilt}
|
|
|
|
sed -e '/^perl(UNIVERSAL)$/d'
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%define __perl_provides %{_builddir}/UNIVERSAL-moniker-%{version}/%{name}-prov
|
|
|
|
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
@ -51,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Apr 14 2011 Paul Howarth <paul@city-fan.org> - 0.08-14
|
|
|
|
|
|
|
|
- Tweak provides filter to work with rpm >= 4.9 too
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-13
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|