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:
parent
7ddbffa73a
commit
b9e902e208
|
@ -1 +1 @@
|
|||
/B-Keywords-1.10.tar.gz
|
||||
/B-Keywords-[0-9.]*.tar.gz
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue