[packages/perl-IO-AIO] - updated to 4.75 - removed outdated version patch

qboosh qboosh at pld-linux.org
Sun Jun 27 21:35:48 CEST 2021


commit be336417ce24dd477b6e85448f202aa21e36f679
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 27 21:38:52 2021 +0200

    - updated to 4.75
    - removed outdated version patch

 IO-AIO-version.patch | 62 ----------------------------------------------------
 perl-IO-AIO.spec     | 18 +++++++--------
 2 files changed, 9 insertions(+), 71 deletions(-)
---
diff --git a/perl-IO-AIO.spec b/perl-IO-AIO.spec
index 0718cc6..cf4c734 100644
--- a/perl-IO-AIO.spec
+++ b/perl-IO-AIO.spec
@@ -4,21 +4,22 @@
 #
 %define		pdir	IO
 %define		pnam	AIO
-%define		dist_ver	4.6
 Summary:	IO::AIO - Perl Asynchronous Input/Output
 Summary(pl.UTF-8):	IO::AIO - asynchroniczne wejście/wyjście w Perlu
 Name:		perl-IO-AIO
-Version:	4.60
-Release:	4
+Version:	4.75
+Release:	1
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{dist_ver}.tar.gz
-# Source0-md5:	220bc386b359998a0e4b34455c4f215e
+Source0:	http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	04edb0cb77d9ec19f73b8aa46d5b3d05
 Patch0:		%{pdir}-%{pnam}-path.patch
-Patch1:		%{pdir}-%{pnam}-version.patch
-URL:		http://search.cpan.org/dist/IO-AIO/
+URL:		https://metacpan.org/dist/IO-AIO
+BuildRequires:	perl-Canary-Stability >= 2001
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.52
 BuildRequires:	perl-devel >= 1:5.8.2
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
 BuildRequires:	perl-common-sense
 %endif
@@ -33,9 +34,8 @@ Ten moduł implementuje asynchroniczne we/wy przy użyciu dowolnych
 metod obsługiwanych przez system operacyjny.
 
 %prep
-%setup -q -n %{pdir}-%{pnam}-%{dist_ver}
+%setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 PERL_CANARY_STABILITY_NOPROMPT=1 \
diff --git a/IO-AIO-version.patch b/IO-AIO-version.patch
deleted file mode 100644
index 46f7371..0000000
--- a/IO-AIO-version.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff -ur IO-AIO-4.6.orig/AIO.pm IO-AIO-4.6/AIO.pm
---- IO-AIO-4.6.orig/AIO.pm	2018-08-25 19:59:07.000000000 +0000
-+++ IO-AIO-4.6/AIO.pm	2018-08-27 09:01:07.184952791 +0000
-@@ -173,7 +173,7 @@
- use base 'Exporter';
- 
- BEGIN {
--   our $VERSION = 4.6;
-+   our $VERSION = "4.60";
- 
-    our @AIO_REQ = qw(aio_sendfile aio_seek aio_read aio_write aio_open aio_close
-                      aio_stat aio_lstat aio_unlink aio_rmdir aio_readdir aio_readdirx
-diff -ur IO-AIO-4.6.orig/Changes IO-AIO-4.6/Changes
---- IO-AIO-4.6.orig/Changes	2018-08-25 19:59:00.000000000 +0000
-+++ IO-AIO-4.6/Changes	2018-08-27 09:00:48.752952999 +0000
-@@ -38,7 +38,7 @@
- TODO: dup3, pipe2, accept4
- TODO: dump config.log when automated testign and configure fails
- 
--4.6  Sat Aug 25 21:58:36 CEST 2018
-+4.60 Sat Aug 25 21:58:36 CEST 2018
- 	- add st_btime, st_btimesec, st_btimensec and st_gen accessors,
-           mostly for bsds which expose birthtime and st_gen members (netbsd, freebsd
-           but only st_gen on openbsd because they compiled their perl without support
-@@ -75,14 +75,14 @@
- 	- removed non-portable C++ syntax from eio.c.
-         - try to fix readdir tests on cygwin spuriously failing.
- 
--4.5  Wed Aug  1 00:23:55 CEST 2018
-+4.50 Wed Aug  1 00:23:55 CEST 2018
- 	- aio_mtouch touch all pages as requested, not just the first page in most cases.
-         - new function: IO::AIO::mremap, linux-specific mremap, with constants MREMAP_MAYMOVE
-           and MREMAP_FIXED.
-         - add O_ACCMODE.
- 	- add (undocumented) MSG_CMSG_CLOEXEC and SOCK_CLOEXEC constants.
- 
--4.4   Tue Feb 20 07:54:12 CET 2018
-+4.40 Tue Feb 20 07:54:12 CET 2018
- 	- new aio_slurp request.
-         - add (experimental) IO::AIO::eventfd and timerfd* function.
- 	- add (experimental) IO::AIO::get_fdlimit and IO::AIO::min_fdlimit.
-diff -ur IO-AIO-4.6.orig/META.json IO-AIO-4.6/META.json
---- IO-AIO-4.6.orig/META.json	2018-08-25 19:59:10.000000000 +0000
-+++ IO-AIO-4.6/META.json	2018-08-27 09:01:03.319952835 +0000
-@@ -38,6 +38,6 @@
-       }
-    },
-    "release_status" : "stable",
--   "version" : 4.6,
-+   "version" : "4.60",
-    "x_serialization_backend" : "JSON::PP version 2.27300"
- }
-diff -ur IO-AIO-4.6.orig/META.yml IO-AIO-4.6/META.yml
---- IO-AIO-4.6.orig/META.yml	2018-08-25 19:59:10.000000000 +0000
-+++ IO-AIO-4.6/META.yml	2018-08-27 09:00:20.352953319 +0000
-@@ -20,5 +20,5 @@
-     - inc
- requires:
-   common::sense: '0'
--version: 4.6
-+version: "4.60"
- x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-IO-AIO.git/commitdiff/be336417ce24dd477b6e85448f202aa21e36f679



More information about the pld-cvs-commit mailing list