|
@@ -2,21 +2,22 @@
|
|
%global rpm49 %(rpm --version | perl -pi -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
|
|
%global rpm49 %(rpm --version | perl -pi -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
|
|
|
|
|
|
Name: perl-Sub-Name
|
|
Name: perl-Sub-Name
|
|
-Version: 0.05
|
|
+Version: 0.12
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: Name - or rename - a sub
|
|
Summary: Name - or rename - a sub
|
|
License: GPL+ or Artistic
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Sub-Name/
|
|
URL: http://search.cpan.org/dist/Sub-Name/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Sub-Name-%{version}.tar.gz
|
|
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Sub-Name-%{version}.tar.gz
|
|
-Patch0: Sub-Name-0.05-cpan50524.patch
|
|
+
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: perl(base)
|
|
BuildRequires: perl(base)
|
|
|
|
+BuildRequires: perl(Devel::CheckBin)
|
|
BuildRequires: perl(DynaLoader)
|
|
BuildRequires: perl(DynaLoader)
|
|
-BuildRequires: perl(Exporter)
|
|
+BuildRequires: perl(Exporter) >= 5.57
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(strict)
|
|
-BuildRequires: perl(Test::More)
|
|
+BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(warnings)
|
|
BuildRequires: perl(warnings)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
%if ! %{rpm49}
|
|
%if ! %{rpm49}
|
|
@@ -37,9 +38,6 @@ by the new name (without some deep magic).
|
|
%prep
|
|
%prep
|
|
%setup -q -n Sub-Name-%{version}
|
|
%setup -q -n Sub-Name-%{version}
|
|
|
|
|
|
-# Copy the contents of the %%DB::sub entry if it exists (CPAN RT#50524)
|
|
|
|
-%patch0 -p1
|
|
|
|
-
|
|
|
|
%build
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor optimize="%{optflags}"
|
|
perl Makefile.PL INSTALLDIRS=vendor optimize="%{optflags}"
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
@@ -66,6 +64,11 @@ rm -rf %{buildroot}
|
|
%{_mandir}/man3/Sub::Name.3pm*
|
|
%{_mandir}/man3/Sub::Name.3pm*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.12-1
|
|
|
|
+- updated to 0.12
|
|
|
|
+- added BR: perl(Devel::CheckBin)
|
|
|
|
+- built with perl 5.16.3
|
|
|
|
+
|
|
* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-1
|
|
* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-1
|
|
- initial build for Vine Linux
|
|
- initial build for Vine Linux
|
|
|
|
|