Update to 0.23

- New upstream release 0.23
  - Remove use of namespace::clean
- Switch to ExtUtils::MakeMaker flow
epel9
Paul Howarth 10 years ago
parent 8f3cdd97bf
commit 57dc5ab1f3

@ -1,6 +1,6 @@
Name: perl-Class-Load Name: perl-Class-Load
Version: 0.22 Version: 0.23
Release: 6%{?dist} Release: 1%{?dist}
Summary: A working (require "Class::Name") and more Summary: A working (require "Class::Name") and more
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
@ -10,8 +10,10 @@ BuildArch: noarch
# =================================================================== # ===================================================================
# Module build requirements # Module build requirements
# =================================================================== # ===================================================================
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Module::Build::Tiny) >= 0.037 BuildRequires: perl(ExtUtils::MakeMaker)
# =================================================================== # ===================================================================
# Module requirements # Module requirements
# =================================================================== # ===================================================================
@ -21,7 +23,6 @@ BuildRequires: perl(Data::OptList)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Implementation) >= 0.04 BuildRequires: perl(Module::Implementation) >= 0.04
BuildRequires: perl(Module::Runtime) >= 0.012 BuildRequires: perl(Module::Runtime) >= 0.012
BuildRequires: perl(namespace::clean)
BuildRequires: perl(Package::Stash) >= 0.14 BuildRequires: perl(Package::Stash) >= 0.14
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Try::Tiny) BuildRequires: perl(Try::Tiny)
@ -63,14 +64,16 @@ provide is_class_loaded 'Class::Name'.
%setup -q -n Class-Load-%{version} %setup -q -n Class-Load-%{version}
%build %build
perl Build.PL --installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
./Build install --destdir=%{buildroot} --create_packlist=0 make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check %check
./Build test make test
%files %files
%if 0%{?_licensedir:1} %if 0%{?_licensedir:1}
@ -80,10 +83,14 @@ perl Build.PL --installdirs=vendor
%endif %endif
%doc Changes CONTRIBUTING README %doc Changes CONTRIBUTING README
%{perl_vendorlib}/Class/ %{perl_vendorlib}/Class/
%{_mandir}/man3/Class::Load.3pm* %{_mandir}/man3/Class::Load.3*
%{_mandir}/man3/Class::Load::PP.3pm*
%changelog %changelog
* Thu Jun 25 2015 Paul Howarth <paul@city-fan.org> - 0.23-1
- Update to 0.23
- Remove use of namespace::clean
- Switch to ExtUtils::MakeMaker flow
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-6 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

@ -1 +1 @@
ad59087e70b0df76d718c90b53e209d5 Class-Load-0.22.tar.gz 080973026b82051117b6c18f5d77aaa9 Class-Load-0.23.tar.gz

Loading…
Cancel
Save