|
@@ -2,35 +2,38 @@
|
|
#TODO: BR: Test::Pod::LinkCheck when available
|
|
#TODO: BR: Test::Pod::LinkCheck when available
|
|
|
|
|
|
Name: perl-Class-Load-XS
|
|
Name: perl-Class-Load-XS
|
|
-Version: 0.04
|
|
+Version: 0.09
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: XS implementation of parts of Class::Load
|
|
Summary: XS implementation of parts of Class::Load
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
License: Artistic 2.0
|
|
License: Artistic 2.0
|
|
URL: http://search.cpan.org/dist/Class-Load-XS/
|
|
URL: http://search.cpan.org/dist/Class-Load-XS/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-XS-%{version}.tar.gz
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-XS-%{version}.tar.gz
|
|
|
|
+
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
# ===================================================================
|
|
# ===================================================================
|
|
# Module build requirements
|
|
# Module build requirements
|
|
# ===================================================================
|
|
# ===================================================================
|
|
|
|
+BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(Module::Build)
|
|
# ===================================================================
|
|
# ===================================================================
|
|
# Module requirements
|
|
# Module requirements
|
|
# ===================================================================
|
|
# ===================================================================
|
|
-BuildRequires: perl(Class::Load) >= 0.15
|
|
+BuildRequires: perl(Class::Load) >= 0.20
|
|
# ===================================================================
|
|
# ===================================================================
|
|
# Regular test suite requirements
|
|
# Regular test suite requirements
|
|
# ===================================================================
|
|
# ===================================================================
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(Module::Implementation) >= 0.04
|
|
BuildRequires: perl(Module::Implementation) >= 0.04
|
|
BuildRequires: perl(Test::Fatal)
|
|
BuildRequires: perl(Test::Fatal)
|
|
-BuildRequires: perl(Test::More)
|
|
+BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::Requires)
|
|
BuildRequires: perl(Test::Requires)
|
|
BuildRequires: perl(Test::Without::Module)
|
|
BuildRequires: perl(Test::Without::Module)
|
|
BuildRequires: perl(version)
|
|
BuildRequires: perl(version)
|
|
# ===================================================================
|
|
# ===================================================================
|
|
# Author/Release test requirements
|
|
# Author/Release test requirements
|
|
# ===================================================================
|
|
# ===================================================================
|
|
-BuildRequires: perl(Test::CPAN::Changes)
|
|
+#BuildRequires: perl(Test::CPAN::Changes)
|
|
BuildRequires: perl(Test::EOL)
|
|
BuildRequires: perl(Test::EOL)
|
|
BuildRequires: perl(Test::NoTabs)
|
|
BuildRequires: perl(Test::NoTabs)
|
|
BuildRequires: perl(Test::Pod)
|
|
BuildRequires: perl(Test::Pod)
|
|
@@ -50,17 +53,22 @@ See Class::Load for API details.
|
|
%setup -q -n Class-Load-XS-%{version}
|
|
%setup -q -n Class-Load-XS-%{version}
|
|
|
|
|
|
%build
|
|
%build
|
|
-perl Build.PL installdirs=vendor optimize="%{optflags}"
|
|
+perl Makefile.PL INSTALLDIRS=vendor optimize="%{optflags}"
|
|
-./Build
|
|
+make %{?_smp_mflags}
|
|
|
|
+
|
|
|
|
|
|
%install
|
|
%install
|
|
-./Build install destdir=%{buildroot} create_packlist=0
|
|
+rm -rf %{buildroot}
|
|
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
+make pure_install DESTDIR=%{buildroot}
|
|
|
|
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
%{_fixperms} %{buildroot}
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
%check
|
|
%check
|
|
-RELEASE_TESTING=1 ./Build test
|
|
+RELEASE_TESTING=1 make test
|
|
|
|
+
|
|
|
|
+%clean
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
%files
|
|
%files
|
|
%doc Changes LICENSE README
|
|
%doc Changes LICENSE README
|
|
@@ -69,6 +77,10 @@ RELEASE_TESTING=1 ./Build test
|
|
%{_mandir}/man3/Class::Load::XS.3pm*
|
|
%{_mandir}/man3/Class::Load::XS.3pm*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.09-1
|
|
|
|
+- updated to 0.09
|
|
|
|
+- built with perl-5.16.3
|
|
|
|
+
|
|
* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
|
|
* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
|
|
- initial package for Vine Linux
|
|
- initial package for Vine Linux
|
|
|
|
|