Browse Source

2014-12-21 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* perl-Class-{Load, Load-XS}, perl-Try-Tiny: updated
	* perl-Crypt-SSLeay: rebuit
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9176 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
461c153369

+ 21 - 9
p/perl-Class-Load-XS/perl-Class-Load-XS-vl.spec

@@ -2,35 +2,38 @@
 #TODO: BR: Test::Pod::LinkCheck when available
 
 Name:		perl-Class-Load-XS
-Version:	0.04
+Version:	0.09
 Release:	1%{?_dist_release}
 Summary:	XS implementation of parts of Class::Load
 Group:		Development/Libraries
 License:	Artistic 2.0
 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
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 # ===================================================================
 # Module build requirements
 # ===================================================================
+BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(Module::Build)
 # ===================================================================
 # Module requirements
 # ===================================================================
-BuildRequires:	perl(Class::Load) >= 0.15
+BuildRequires:	perl(Class::Load) >= 0.20
 # ===================================================================
 # Regular test suite requirements
 # ===================================================================
 BuildRequires:	perl(constant)
 BuildRequires:	perl(Module::Implementation) >= 0.04
 BuildRequires:	perl(Test::Fatal)
-BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::More) >= 0.88
 BuildRequires:	perl(Test::Requires)
 BuildRequires:	perl(Test::Without::Module)
 BuildRequires:	perl(version)
 # ===================================================================
 # Author/Release test requirements
 # ===================================================================
-BuildRequires:	perl(Test::CPAN::Changes)
+#BuildRequires:	perl(Test::CPAN::Changes)
 BuildRequires:	perl(Test::EOL)
 BuildRequires:	perl(Test::NoTabs)
 BuildRequires:	perl(Test::Pod)
@@ -50,17 +53,22 @@ See Class::Load for API details.
 %setup -q -n Class-Load-XS-%{version}
 
 %build
-perl Build.PL installdirs=vendor optimize="%{optflags}"
-./Build
+perl Makefile.PL INSTALLDIRS=vendor optimize="%{optflags}"
+make %{?_smp_mflags}
+
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
-RELEASE_TESTING=1 ./Build test
+RELEASE_TESTING=1 make test
+
+%clean
+rm -rf %{buildroot}
 
 %files
 %doc Changes LICENSE README
@@ -69,6 +77,10 @@ RELEASE_TESTING=1 ./Build test
 %{_mandir}/man3/Class::Load::XS.3pm*
 
 %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
 - initial package for Vine Linux
 

+ 26 - 12
p/perl-Class-Load/perl-Class-Load-vl.spec

@@ -1,8 +1,8 @@
 %define perl_bootstrap 1
 
 Name:		perl-Class-Load
-Version:	0.18
-Release:	2%{?_dist_release}
+Version:	0.20
+Release:	1%{?_dist_release}
 Summary:	A working (require "Class::Name") and more
 Group:		Development/Libraries
 License:	GPL+ or Artistic
@@ -18,15 +18,22 @@ BuildRequires:	perl(ExtUtils::MakeMaker)
 # ===================================================================
 # Module requirements
 # ===================================================================
-#BuildRequires:	perl(base)
-#BuildRequires:	perl(Carp)
-#BuildRequires:	perl(Data::OptList)
-#BuildRequires:	perl(Module::Implementation) >= 0.04
-#BuildRequires:	perl(Module::Runtime) >= 0.012
-#BuildRequires:	perl(Package::Stash) >= 0.14
-#BuildRequires:	perl(strict)
-#BuildRequires:	perl(Try::Tiny)
-#BuildRequires:	perl(warnings)
+BuildRequires:	perl(base)
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Data::OptList)
+BuildRequires:	perl(Module::Implementation) >= 0.04
+BuildRequires:	perl(Module::Runtime) >= 0.012
+BuildRequires:	perl(Package::Stash) >= 0.14
+BuildRequires:	perl(strict)
+BuildRequires:	perl(Try::Tiny)
+BuildRequires:	perl(warnings)
+
+# ===================================================================
+# Test requirements
+# ===================================================================
+BuildRequires:	perl(Test::Fatal)
+BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::Requires)
 
 # ===================================================================
 # Runtime requirements
@@ -55,13 +62,17 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
+rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
-#make test %{!?perl_bootstrap:RELEASE_TESTING=1}
+make test %{!?perl_bootstrap:RELEASE_TESTING=1}
+
+%clean
+rm -rf %{buildroot}
 
 %files
 %doc Changes LICENSE README
@@ -69,6 +80,9 @@ find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_mandir}/man3/Class::Load.3pm*
 
 %changelog
+* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.20-1
+- new upstream release
+
 * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.18-2
 - rebuild with perl-5.16
 

+ 15 - 10
p/perl-Crypt-SSLeay/perl-Crypt-SSLeay-vl.spec

@@ -2,22 +2,24 @@
 %define origname Crypt-SSLeay
 
 Name:           perl-Crypt-SSLeay
-Summary:        Crypt::SSLeay - OpenSSL glue that provides LWP https support
+Summary:        OpenSSL glue that provides LWP https support
 Version:        0.57
-Release:        2%{?_dist_release}
-License:        Perl's
+Release:        3%{?_dist_release}
+
+License:	GPL or Artistic
 Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Crypt-SSLeay/
+
 Source0:        http://www.cpan.org/authors/id/D/DL/DLAND/%{origname}-%{version}.tar.gz
 Patch1:         perl-Crypt-SSLeay-cryptdef.patch
 Patch2:         perl-Crypt-SSLeay-0.57-live-tests.patch
 Patch3:		perl-Crypt-SSLeay-Makefile_ssl1.patch
-URL:            http://search.cpan.org/dist/Crypt-SSLeay/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  openssl-devel
-BuildRequires:  perl
-BuildRequires:  perl-URI
-BuildRequires:  perl-Test-Pod-Coverage
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(URI)
+BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl-libwww-perl
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       openssl
@@ -79,8 +81,8 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 chmod -R 644 eg/*
 chmod -R 644 certs/*
 
-#%check
-#make test
+%check
+make test
 
 
 %files
@@ -93,6 +95,9 @@ chmod -R 644 certs/*
 
 
 %changelog
+* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.57-3
+- rebuilt with perl 5.16.3
+
 * Sun Apr  3 2011 IWAI, Masaharu <iwai@alib.jp> 0.57-2vl6
 - build with perl 5.12.3
 

+ 15 - 5
p/perl-Try-Tiny/perl-Try-Tiny-vl.spec

@@ -1,16 +1,22 @@
 Name:           perl-Try-Tiny
 Summary:        Minimal try/catch with proper localization of $@
-Version:        0.11
-Release:        2%{?_dist_release}
+Version:        0.22
+Release:        1%{?_dist_release}
 License:        MIT
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
 URL:            http://search.cpan.org/dist/Try-Tiny
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildArch:      noarch
 
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(Pod::Coverage::TrustPod)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::NoTabs)
+BuildRequires:  perl(Test::Pod) >= 1.41
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:  perl(Sub::Name)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # obsolete/provide old tests subpackage
 # can be removed during F19 development cycle
@@ -56,6 +62,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Try::Tiny.3pm*
 
 %changelog
+* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.22-1
+- updated to 0.22
+- updated BuildRequires
+
 * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.11-2
 - build with Perl 5.16