update to 0.05
This commit is contained in:
parent
551008843c
commit
6499918cba
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
Devel-LexAlias-0.04.tar.gz
|
||||
/Devel-LexAlias-0.05.tar.gz
|
||||
|
@ -1,23 +1,18 @@
|
||||
Name: perl-Devel-LexAlias
|
||||
Version: 0.04
|
||||
Release: 14%{?dist}
|
||||
Version: 0.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Alias lexical variables
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Devel-LexAlias/
|
||||
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Devel-LexAlias-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
BuildRequires: perl(Devel::Caller) >= 0.03
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More)
|
||||
|
||||
# don't "provide" private Perl libs
|
||||
%global _use_internal_dependency_generator 0
|
||||
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
|
||||
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
|
||||
%global __find_requires /bin/sh -c "%{__deploop R}"
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
Devel::LexAlias provides the ability to alias a lexical variable in a
|
||||
@ -33,30 +28,28 @@ perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README t/
|
||||
%doc Changes t/
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/Devel*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sun Feb 03 2013 Iain Arnell <iarnell@gmail.com> 0.05-1
|
||||
- update to latest upstream version
|
||||
- clean up spec for modern rpmbuild
|
||||
- use perl_default_filter
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user