3 Summary: Devel::LexAlias - alias lexical variables
5 Name: perl-Devel-LexAlias
8 License: GPL v1+ or Artistic
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5: 1a4f70dff1a47b3eb96bdeac50db2ec5
12 URL: http://search.cpan.org/dist/Devel-LexAlias/
13 BuildRequires: perl-devel >= 1:5.8.0
14 BuildRequires: rpm-perlprov >= 4.1-13
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Devel::LexAlias provides the ability to alias a lexical variable in a
19 subroutines scope to one of your choosing.
22 %setup -q -n %{pdir}-%{pnam}-%{version}
25 %{__perl} Makefile.PL \
29 OPTIMIZE="%{rpmcflags}"
31 %{?with_tests:%{__make} test}
34 rm -rf $RPM_BUILD_ROOT
36 %{__make} pure_install \
37 DESTDIR=$RPM_BUILD_ROOT
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
45 %{perl_vendorarch}/Devel/*.pm
46 %dir %{perl_vendorarch}/auto/Devel/LexAlias
47 %attr(755,root,root) %{perl_vendorarch}/auto/Devel/LexAlias/*.so