[perl-IO-AIO] Update to 4.20 (see Changes file for details)

Paul Howarth pghmcfc at fedoraproject.org
Sat Jan 25 21:51:49 UTC 2014


commit 272b596fd8546e776b31a20ed207bc58014b70b7
Author: Paul Howarth <paul at city-fan.org>
Date:   Sat Jan 25 21:51:58 2014 +0000

    Update to 4.20 (see Changes file for details)

 perl-IO-AIO.spec |   18 ++++++++++++++----
 sources          |    2 +-
 2 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/perl-IO-AIO.spec b/perl-IO-AIO.spec
index 5743302..9febfac 100644
--- a/perl-IO-AIO.spec
+++ b/perl-IO-AIO.spec
@@ -1,11 +1,18 @@
+# work around upstream versioning being decimal rather than v-string
+%global upstream_version 4.2
+%global extraversion 0
+%if "%{upstream_version}%{extraversion}" != "%{upstream_version}"
+Provides:	perl(IO::AIO) = %{upstream_version}%{extraversion}
+%endif
+
 Name:		perl-IO-AIO
-Version:	4.15
-Release:	6%{?dist}
+Version:	%{upstream_version}%{extraversion}
+Release:	1%{?dist}
 Summary:	Asynchronous Input/Output
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/IO-AIO/
-Source0:	http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/IO-AIO-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/IO-AIO-%{upstream_version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildRequires:	perl >= 3:5.8.2
 BuildRequires:	perl(base)
@@ -24,7 +31,7 @@ This module implements asynchronous I/O using whatever means your operating
 system supports.
 
 %prep
-%setup -q -n IO-AIO-%{version}
+%setup -q -n IO-AIO-%{upstream_version}
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -54,6 +61,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/IO::AIO.3pm*
 
 %changelog
+* Sat Jan 25 2014 Paul Howarth <paul at city-fan.org> - 4.20-1
+- Update to 4.20 (see Changes file for details)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.15-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 0d8c0d4..b22fa89 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c5a127a431e8fb39395df4738055e48a  IO-AIO-4.15.tar.gz
+3200f5077e4687c3e6388688738a97f6  IO-AIO-4.2.tar.gz


More information about the scm-commits mailing list