|
@@ -1,18 +1,17 @@
|
|
Name: perl-Readonly
|
|
Name: perl-Readonly
|
|
-Version: 1.03
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 2.00
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Summary: Facility for creating read-only scalars, arrays, hashes
|
|
Summary: Facility for creating read-only scalars, arrays, hashes
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
License: GPL+ or Artistic
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Readonly/
|
|
URL: http://search.cpan.org/dist/Readonly/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-%{version}.tar.gz
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-%{version}.tar.gz
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
-
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Test::More)
|
|
-
|
|
|
|
|
|
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
# perl-Readonly-XS builds for all current fedora architectures, so let's
|
|
# perl-Readonly-XS builds for all current fedora architectures, so let's
|
|
# require it.
|
|
# require it.
|
|
Requires: perl(Readonly::XS)
|
|
Requires: perl(Readonly::XS)
|
|
@@ -40,28 +39,22 @@ Readonly:
|
|
%prep
|
|
%prep
|
|
%setup -q -n Readonly-%{version}
|
|
%setup -q -n Readonly-%{version}
|
|
|
|
|
|
-
|
|
|
|
%build
|
|
%build
|
|
-%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
-make %{?_smp_mflags}
|
|
|
|
-
|
|
|
|
|
|
+%{__perl} Build.PL installdirs=vendor
|
|
|
|
+./Build
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
-make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
+./Build pure_install destdir=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
-# make sure this goes where it should to be...
|
|
|
|
-mv %{buildroot}%{perl_vendorlib}/benchmark.pl .
|
|
|
|
-
|
|
|
|
|
|
|
|
%check
|
|
%check
|
|
-make test
|
|
|
|
-
|
|
|
|
|
|
+./Build test
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
@@ -69,12 +62,17 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc Changes README benchmark.pl
|
|
|
|
|
|
+%doc Changes LICENSE README.md
|
|
%{perl_vendorlib}/Readonly.pm
|
|
%{perl_vendorlib}/Readonly.pm
|
|
%{_mandir}/man3/*
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Nov 8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.00-1
|
|
|
|
+- updated to 2.00
|
|
|
|
+- make -> ./Build
|
|
|
|
+- built with perl 5.16.3
|
|
|
|
+
|
|
* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-2
|
|
* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-2
|
|
- rebuild
|
|
- rebuild
|
|
|
|
|