From 5c0dce430d8bb6e59b90f884e3fa089c27761bc4 Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Tue, 3 May 2016 15:26:09 +0100 Subject: Update to 4.34
- New upstream release 4.34 - def0.h was not properly generated during previous release, causing compile errors on various platforms - major/minor were accidentally switched - Removed duplicate definition of MAP_HUGETLB - Added (untested!) aio_fcntl, aio_ioctl requests - (libeio) Names set via prctl are truncated to 15 chars + nul, not 16, as manpages-dev originally claimed - Drop def0.h patch from previous release, no longer needed - Simplify find commands using -empty and -delete --- IO-AIO-4.33-constants.patch | 22 ---------------------- perl-IO-AIO.spec | 25 ++++++++++++++++--------- sources | 2 +- 3 files changed, 17 insertions(+), 32 deletions(-) delete mode 100644 IO-AIO-4.33-constants.patch diff --git a/IO-AIO-4.33-constants.patch b/IO-AIO-4.33-constants.patch deleted file mode 100644 index 84a0378..0000000 --- a/IO-AIO-4.33-constants.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- def0.h -+++ def0.h -@@ -192,6 +192,9 @@ - #ifndef MAP_SHARED - #define MAP_SHARED 0 - #endif -+#ifndef MAP_32BIT -+#define MAP_32BIT 0 -+#endif - #ifndef MAP_ANONYMOUS - #define MAP_ANONYMOUS 0 - #endif -@@ -210,6 +213,9 @@ - #ifndef MAP_NONBLOCK - #define MAP_NONBLOCK 0 - #endif -+#ifndef MAP_STACK -+#define MAP_STACK 0 -+#endif - #ifndef FIEMAP_FLAG_SYNC - #define FIEMAP_FLAG_SYNC 0 - #endif diff --git a/perl-IO-AIO.spec b/perl-IO-AIO.spec index 874761a..a4055bd 100644 --- a/perl-IO-AIO.spec +++ b/perl-IO-AIO.spec @@ -1,5 +1,5 @@ # work around upstream versioning being decimal rather than v-string -%global upstream_version 4.33 +%global upstream_version 4.34 %global extraversion %{nil} %if "%{upstream_version}%{extraversion}" != "%{upstream_version}" Provides: perl(IO::AIO) = %{upstream_version}%{extraversion} @@ -7,13 +7,12 @@ Provides: perl(IO::AIO) = %{upstream_version}%{extraversion} Name: perl-IO-AIO Version: %{upstream_version}%{extraversion} -Release: 2%{?dist} +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-%{upstream_version}.tar.gz -Patch0: IO-AIO-4.33-constants.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) # Module Build BuildRequires: coreutils @@ -55,10 +54,6 @@ system supports. %prep %setup -q -n IO-AIO-%{upstream_version} -# MAP_STACK requires kernel 2.6.27 onwards -# MAP_32BIT not universally available either -%patch0 - %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} @@ -66,8 +61,8 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -type f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot} # Remove script we don't want packaged @@ -91,6 +86,18 @@ rm -rf %{buildroot} %{_mandir}/man3/IO::AIO.3* %changelog +* Tue May 3 2016 Paul Howarth <p...@city-fan.org> - 4.34-1 +- Update to 4.34 + - def0.h was not properly generated during previous release, causing compile + errors on various platforms + - major/minor were accidentally switched + - Removed duplicate definition of MAP_HUGETLB + - Added (untested!) aio_fcntl, aio_ioctl requests + - (libeio) Names set via prctl are truncated to 15 chars + nul, not 16, as + manpages-dev originally claimed +- Drop def0.h patch from previous release, no longer needed +- Simplify find commands using -empty and -delete + * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 4.33-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index f62c858..1b197a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -08243848d09e111ca8a682226a36491f IO-AIO-4.33.tar.gz +6a3e89193e0747b3bbf9e66b7900a95b IO-AIO-4.34.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-IO-AIO.git/commit/?h=master&id=5c0dce430d8bb6e59b90f884e3fa089c27761bc4 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org