Browse Source

perl-Sub-Uplevel 0.24-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8668 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 9 years ago
parent
commit
5014813ccc
1 changed files with 14 additions and 7 deletions
  1. 14 7
      p/perl-Sub-Uplevel/perl-Sub-Uplevel-vl.spec

+ 14 - 7
p/perl-Sub-Uplevel/perl-Sub-Uplevel-vl.spec

@@ -1,7 +1,9 @@
+Epoch:		1
+
 Summary:        Apparently run a function in a higher stack frame
 Name:           perl-Sub-Uplevel
-Version:        0.2002
-Release:        2%{?_dist_release}
+Version:        0.24
+Release:        1%{?_dist_release}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Sub-Uplevel/
@@ -26,30 +28,35 @@ are avoided.
 %setup -q -n Sub-Uplevel-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL installdirs=vendor
+make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-AUTHOR_TESTING=1 ./Build test
+AUTHOR_TESTING=1 make test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc Changes LICENSE README Todo examples/
+%doc Changes LICENSE README README.PATCHING examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.24-1
+- build with Perl 5.16
+- update to 0.24
+ - add Epoch:1
+
 * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.2002-2
 - build with perl 5.12.3
 - add Vendor and Distribution tags