Update to 0.08

- New upstream release 0.08:
  - Switched packaging to just EUMM, as MBT wants the .xs file in a different
    place
- Switch to ExtUtils::MakeMaker flow
epel9
Paul Howarth 11 years ago
parent 2b10f872e4
commit 474fae0916

@ -1,5 +1,5 @@
Name: perl-Class-Load-XS
Version: 0.07
Version: 0.08
Release: 1%{?dist}
Summary: XS implementation of parts of Class::Load
Group: Development/Libraries
@ -9,7 +9,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-XS-%{versi
# ===================================================================
# Module build requirements
# ===================================================================
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# ===================================================================
# Module requirements
# ===================================================================
@ -19,6 +19,8 @@ BuildRequires: perl(XSLoader)
# Regular test suite requirements
# ===================================================================
BuildRequires: perl(constant)
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
BuildRequires: perl(lib)
BuildRequires: perl(Module::Implementation) >= 0.04
BuildRequires: perl(Test::Fatal)
@ -40,21 +42,18 @@ See Class::Load for API details.
%prep
%setup -q -n Class-Load-XS-%{version}
# Put the XS file where Module::Build::Tiny expects to find it
# https://github.com/moose/Class-Load-XS/issues/1
mv XS.xs lib/Class/Load/
%build
perl Build.PL --installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
./Build install --destdir=%{buildroot} --create_packlist=0
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check
./Build test
make test
%files
%doc Changes CONTRIBUTING LICENSE README README.md
@ -63,6 +62,12 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
%{_mandir}/man3/Class::Load::XS.3pm*
%changelog
* Thu Feb 13 2014 Paul Howarth <paul@city-fan.org> - 0.08-1
- Update to 0.08:
- Switched packaging to just EUMM, as MBT wants the .xs file in a different
place
- Switch to ExtUtils::MakeMaker flow
* Thu Feb 13 2014 Paul Howarth <paul@city-fan.org> - 0.07-1
- Update to 0.07:
- Repository moved to the github moose organization

@ -1 +1 @@
ae36673ed4be02aa03df210a1d4e8756 Class-Load-XS-0.07.tar.gz
c4d992d7023fa3015322916850ee95d9 Class-Load-XS-0.08.tar.gz

Loading…
Cancel
Save