|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: perl-autobox
|
|
|
|
Name: perl-autobox
|
|
|
|
Version: 2.71
|
|
|
|
Version: 2.71
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Call methods on native types
|
|
|
|
Summary: Call methods on native types
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
@ -12,6 +12,11 @@ BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?filter_setup:
|
|
|
|
|
|
|
|
%filter_from_requires /perl(autobox::universal)/d
|
|
|
|
|
|
|
|
%?perl_default_filter
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The autobox pragma allows methods to be called on integers, floats,
|
|
|
|
The autobox pragma allows methods to be called on integers, floats,
|
|
|
|
strings, arrays, hashes, and code references in exactly the same manner as
|
|
|
|
strings, arrays, hashes, and code references in exactly the same manner as
|
|
|
@ -20,17 +25,6 @@ blessed references.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n autobox-%{version}
|
|
|
|
%setup -q -n autobox-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# Filter requires
|
|
|
|
|
|
|
|
cat << \EOF > %{name}-req
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
%{__perl_requires} $* |\
|
|
|
|
|
|
|
|
sed -e '/perl(autobox)/d' |\
|
|
|
|
|
|
|
|
sed -e '/perl(autobox::universal)/d'
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define __perl_requires %{_builddir}/autobox-%{version}/%{name}-req
|
|
|
|
|
|
|
|
chmod +x %{__perl_requires}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
@ -55,6 +49,9 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Feb 19 2011 Iain Arnell <iarnell@gmail.com> 2.71-3
|
|
|
|
|
|
|
|
- update requires filtering to use standard macros
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-2
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|