Update to 1.11

- New upstream release 1.11
  - Add new keywords for 5.16: __SUB__ and evalbytes
- Use DESTDIR rather than PERL_INSTALL_ROOT
This commit is contained in:
Paul Howarth 2012-01-11 11:45:53 +00:00
parent 7ddbffa73a
commit b9e902e208
3 changed files with 14 additions and 11 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/B-Keywords-1.10.tar.gz
/B-Keywords-[0-9.]*.tar.gz

View File

@ -1,20 +1,18 @@
Name: perl-B-Keywords
Version: 1.10
Release: 3%{?dist}
Version: 1.11
Release: 1%{?dist}
Summary: Lists of reserved barewords and symbol names
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/B-Keywords/
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-Keywords-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(YAML)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
%description
%{summary}.
@ -31,10 +29,10 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} $RPM_BUILD_ROOT
%check
@ -53,6 +51,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 1.11-1
- Update to 1.11
- Add new keywords for 5.16: __SUB__ and evalbytes
- Use DESTDIR rather than PERL_INSTALL_ROOT
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.10-3
- Perl mass rebuild

View File

@ -1 +1 @@
3f4e7319083a348972c38a10b944a7a1 B-Keywords-1.10.tar.gz
2c957056281623ad76ed65517e1c82c2 B-Keywords-1.11.tar.gz