|
@@ -1,11 +1,15 @@
|
|
|
Summary: I/O on in-core objects like strings and arrays with Perl
|
|
|
Name: perl-IO-stringy
|
|
|
-Version: 2.111
|
|
|
+Version: 2.113
|
|
|
Release: 1%{_dist_release}
|
|
|
+Group: programming
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
License: GPL+ or Artistic
|
|
|
-Group: Development/Libraries
|
|
|
-Source0: http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/IO-stringy-%{version}.tar.gz
|
|
|
-URL: http://search.cpan.org/author/ERYQ/IO-stringy/
|
|
|
+URL: https://metacpan.org/pod/IO::Stringy
|
|
|
+Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/IO-Stringy-%{version}.tar.gz
|
|
|
+
|
|
|
BuildArch: noarch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
@@ -19,10 +23,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
#BuildRequires: perl(IO::ScalarArray)
|
|
|
#BuildRequires: perl(IO::WrapTie)
|
|
|
#BuildRequires: perl(Symbol)
|
|
|
-Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
-
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
+Requires: perl(:SCRIPT_COMPAT_5)
|
|
|
|
|
|
|
|
|
%description
|
|
@@ -41,12 +42,14 @@ string, a globref, or a FileHandle.
|
|
|
|
|
|
|
|
|
%prep
|
|
|
-%setup -q -n IO-stringy-%{version}
|
|
|
+%setup -q -n IO-Stringy-%{version}
|
|
|
+
|
|
|
|
|
|
%build
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
@@ -54,12 +57,15 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
+
|
|
|
%check
|
|
|
make test
|
|
|
|
|
|
+
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%license COPYING
|
|
@@ -74,7 +80,12 @@ make test
|
|
|
%{_mandir}/man3/IO::Wrap.3pm*
|
|
|
%{_mandir}/man3/IO::WrapTie.3pm*
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.113-1
|
|
|
+- new upstream release.
|
|
|
+- rebuilt with perl-5.34.
|
|
|
+
|
|
|
* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.111-1
|
|
|
- new upstream release.
|
|
|
- rebuilt with perl-5.26.
|