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 Name: perl-Class-Load-XS
Version: 0.07 Version: 0.08
Release: 1%{?dist} Release: 1%{?dist}
Summary: XS implementation of parts of Class::Load Summary: XS implementation of parts of Class::Load
Group: Development/Libraries 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 # Module build requirements
# =================================================================== # ===================================================================
BuildRequires: perl(Module::Build::Tiny) >= 0.034 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# =================================================================== # ===================================================================
# Module requirements # Module requirements
# =================================================================== # ===================================================================
@ -19,6 +19,8 @@ BuildRequires: perl(XSLoader)
# Regular test suite requirements # Regular test suite requirements
# =================================================================== # ===================================================================
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Module::Implementation) >= 0.04 BuildRequires: perl(Module::Implementation) >= 0.04
BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Fatal)
@ -40,21 +42,18 @@ See Class::Load for API details.
%prep %prep
%setup -q -n Class-Load-XS-%{version} %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 %build
perl Build.PL --installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
./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 {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
./Build test make test
%files %files
%doc Changes CONTRIBUTING LICENSE README README.md %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* %{_mandir}/man3/Class::Load::XS.3pm*
%changelog %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 * Thu Feb 13 2014 Paul Howarth <paul@city-fan.org> - 0.07-1
- Update to 0.07: - Update to 0.07:
- Repository moved to the github moose organization - 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