Compare commits

...

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

3 changed files with 203 additions and 28 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/AnyEvent-7.14.tar.gz
SOURCES/AnyEvent-7.17.tar.gz

View File

@ -1 +1 @@
2e1ebcaaab8a3ffd2238f4a238681661836a5cfc SOURCES/AnyEvent-7.14.tar.gz
6aa1247d79a5617ca52786ea15c59fb915d299b8 SOURCES/AnyEvent-7.17.tar.gz

View File

@ -1,10 +1,33 @@
# Do not use optional dependencies
%bcond_with perl_AnyEvent_enables_optional_features
# Do not test optional backends, we never run-require them
%bcond_with perl_AnyEvent_enables_optional_backend_test
#global subver 1
# Support Event
%if 0%{?rhel} >= 9
%bcond_with perl_AnyEvent_enables_Event
%else
%bcond_without perl_AnyEvent_enables_Event
%endif
# Support Glib
%if 0%{?rhel} >= 9
%bcond_with perl_AnyEvent_enables_Glib
%else
%bcond_without perl_AnyEvent_enables_Glib
%endif
# Support POE
%if 0%{?rhel} >= 9
%bcond_with perl_AnyEvent_enables_POE
%else
%bcond_without perl_AnyEvent_enables_POE
%endif
# Support Tk
%if 0%{?rhel} >= 9
%bcond_with perl_AnyEvent_enables_Tk
%else
%bcond_without perl_AnyEvent_enables_Tk
%endif
# A noarch-turned-arch package should not have debuginfo
%global debug_package %{nil}
@ -12,31 +35,30 @@
%global have_weak_deps 0%{?fedora} > 20 || 0%{?rhel} > 7
Name: perl-AnyEvent
Version: 7.14
Release: 6%{?dist}
Version: 7.17
Release: 8%{?dist}
Summary: Framework for multiple event loops
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/AnyEvent/
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz
URL: https://metacpan.org/release/AnyEvent
Source0: https://cpan.metacpan.org/modules/by-module/AnyEvent/AnyEvent-%{version}%{?subver}.tar.gz
# Build requirements
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter >= 3:5.8.1
BuildRequires: perl(Canary::Stability)
BuildRequires: perl(ExtUtils::MakeMaker)
# Module requirements
BuildRequires: perl-interpreter >= 3:5.8.1
BuildRequires: perl(B)
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Errno)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Guard)
BuildRequires: perl(integer)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(List::Util)
@ -44,15 +66,12 @@ BuildRequires: perl(overload)
BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
BuildRequires: perl(strict)
BuildRequires: perl(Time::HiRes)
%if %{with perl_AnyEvent_enables_optional_features}
BuildRequires: perl(Guard)
BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: perl(Sys::Syslog)
BuildRequires: perl(Task::Weaken)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(Unicode::Normalize)
%endif
# Test suite requirements
BuildRequires: perl(File::Spec)
@ -69,12 +88,19 @@ BuildRequires: perl(warnings)
# Cocoa, FLTK and UV are not in Fedora/EPEL
# AnyEvent::AIO, EV and IO::Async::Loop are not (yet) in EPEL-7
# Test suite does not currently test the Qt event loop
%if %{with perl_AnyEvent_enables_optional_backend_test}
%if 0%{!?perl_bootstrap:1}
%if %{with perl_AnyEvent_enables_Event}
BuildRequires: perl(Event)
%endif
%if %{with perl_AnyEvent_enables_Glib}
BuildRequires: perl(Glib) >= 1.210
%endif
%if %{with perl_AnyEvent_enables_POE}
BuildRequires: perl(POE) >= 1.312
%endif
%if %{with perl_AnyEvent_enables_Tk}
BuildRequires: perl(Tk)
%endif
%if 0%{?fedora}
BuildRequires: perl(AnyEvent::AIO)
BuildRequires: perl(EV) >= 4.00
@ -82,12 +108,10 @@ BuildRequires: perl(IO::AIO) >= 4.13
BuildRequires: perl(IO::Async::Loop) >= 0.33
%endif
%endif
%endif
# Runtime requires
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Temp)
%if %{with perl_AnyEvent_enables_optional_features}
%if %{have_weak_deps}
# Optional but recommended
Recommends: perl(Guard)
@ -108,25 +132,32 @@ Requires: perl(Sys::Syslog)
Requires: perl(Task::Weaken)
Requires: perl(Unicode::Normalize)
%endif
%endif
# Optional dependencies we don't want to require
%global optional_deps AnyEvent::AIO
%global optional_deps %{optional_deps}|Cocoa::EventLoop
%global optional_deps %{optional_deps}|EV
%if %{with perl_AnyEvent_enables_Event}
%global optional_deps %{optional_deps}|Event
%endif
%global optional_deps %{optional_deps}|Event::Lib
%global optional_deps %{optional_deps}|EventLoop
%global optional_deps %{optional_deps}|FLTK
%if %{with perl_AnyEvent_enables_Glib}
%global optional_deps %{optional_deps}|Glib
%endif
%global optional_deps %{optional_deps}|IO::AIO
%global optional_deps %{optional_deps}|IO::Async::Loop
%global optional_deps %{optional_deps}|Irssi
%if %{with perl_AnyEvent_enables_POE}
%global optional_deps %{optional_deps}|POE
%endif
%global optional_deps %{optional_deps}|Qt
%global optional_deps %{optional_deps}|Qt::isa
%global optional_deps %{optional_deps}|Qt::slots
%if %{with perl_AnyEvent_enables_Tk}
%global optional_deps %{optional_deps}|Tk
%endif
%global optional_deps %{optional_deps}|UV
# Don't include optional dependencies
@ -157,6 +188,23 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%if !%{with perl_AnyEvent_enables_Event}
rm %{buildroot}%{perl_vendorarch}/AnyEvent/Impl/Event.pm
rm %{buildroot}%{_mandir}/man3/AnyEvent::Impl::Event.3*
%endif
%if !%{with perl_AnyEvent_enables_Glib}
rm %{buildroot}%{perl_vendorarch}/AnyEvent/Impl/Glib.pm
rm %{buildroot}%{_mandir}/man3/AnyEvent::Impl::Glib.3*
%endif
%if !%{with perl_AnyEvent_enables_POE}
rm %{buildroot}%{perl_vendorarch}/AnyEvent/Impl/POE.pm
rm %{buildroot}%{_mandir}/man3/AnyEvent::Impl::POE.3*
%endif
%if !%{with perl_AnyEvent_enables_Tk}
rm %{buildroot}%{perl_vendorarch}/AnyEvent/Impl/Tk.pm
rm %{buildroot}%{_mandir}/man3/AnyEvent::Impl::Tk.3*
%endif
%check
@ -171,7 +219,48 @@ make test
%doc Changes README
%{perl_vendorarch}/AE.pm
%{perl_vendorarch}/AnyEvent.pm
%{perl_vendorarch}/AnyEvent/
%dir %{perl_vendorarch}/AnyEvent/
%{perl_vendorarch}/AnyEvent/constants.pl
%{perl_vendorarch}/AnyEvent/DNS.pm
%{perl_vendorarch}/AnyEvent/Debug.pm
%{perl_vendorarch}/AnyEvent/FAQ.pod
%{perl_vendorarch}/AnyEvent/Handle.pm
%dir %{perl_vendorarch}/AnyEvent/Impl
%{perl_vendorarch}/AnyEvent/Impl/Cocoa.pm
%{perl_vendorarch}/AnyEvent/Impl/EV.pm
%if %{with perl_AnyEvent_enables_Event}
%{perl_vendorarch}/AnyEvent/Impl/Event.pm
%endif
%{perl_vendorarch}/AnyEvent/Impl/EventLib.pm
%{perl_vendorarch}/AnyEvent/Impl/FLTK.pm
%if %{with perl_AnyEvent_enables_Glib}
%{perl_vendorarch}/AnyEvent/Impl/Glib.pm
%endif
%{perl_vendorarch}/AnyEvent/Impl/IOAsync.pm
%{perl_vendorarch}/AnyEvent/Impl/Irssi.pm
%{perl_vendorarch}/AnyEvent/Impl/Perl.pm
%if %{with perl_AnyEvent_enables_POE}
%{perl_vendorarch}/AnyEvent/Impl/POE.pm
%endif
%{perl_vendorarch}/AnyEvent/Impl/Qt.pm
%if %{with perl_AnyEvent_enables_Tk}
%{perl_vendorarch}/AnyEvent/Impl/Tk.pm
%endif
%{perl_vendorarch}/AnyEvent/Impl/UV.pm
%{perl_vendorarch}/AnyEvent/Intro.pod
%{perl_vendorarch}/AnyEvent/IO.pm
%dir %{perl_vendorarch}/AnyEvent/IO
%{perl_vendorarch}/AnyEvent/IO/IOAIO.pm
%{perl_vendorarch}/AnyEvent/IO/Perl.pm
%{perl_vendorarch}/AnyEvent/Log.pm
%{perl_vendorarch}/AnyEvent/Loop.pm
%{perl_vendorarch}/AnyEvent/Socket.pm
%{perl_vendorarch}/AnyEvent/Strict.pm
%{perl_vendorarch}/AnyEvent/TLS.pm
%{perl_vendorarch}/AnyEvent/Util.pm
%dir %{perl_vendorarch}/AnyEvent/Util
%{perl_vendorarch}/AnyEvent/Util/idna.pl
%{perl_vendorarch}/AnyEvent/Util/uts46data.pl
%{_mandir}/man3/AE.3*
%{_mandir}/man3/AnyEvent.3*
%{_mandir}/man3/AnyEvent::DNS.3*
@ -180,16 +269,24 @@ make test
%{_mandir}/man3/AnyEvent::Handle.3*
%{_mandir}/man3/AnyEvent::Impl::Cocoa.3*
%{_mandir}/man3/AnyEvent::Impl::EV.3*
%if %{with perl_AnyEvent_enables_Event}
%{_mandir}/man3/AnyEvent::Impl::Event.3*
%endif
%{_mandir}/man3/AnyEvent::Impl::EventLib.3*
%{_mandir}/man3/AnyEvent::Impl::FLTK.3*
%if %{with perl_AnyEvent_enables_Glib}
%{_mandir}/man3/AnyEvent::Impl::Glib.3*
%endif
%{_mandir}/man3/AnyEvent::Impl::IOAsync.3*
%{_mandir}/man3/AnyEvent::Impl::Irssi.3*
%if %{with perl_AnyEvent_enables_POE}
%{_mandir}/man3/AnyEvent::Impl::POE.3*
%endif
%{_mandir}/man3/AnyEvent::Impl::Perl.3*
%{_mandir}/man3/AnyEvent::Impl::Qt.3*
%if %{with perl_AnyEvent_enables_Tk}
%{_mandir}/man3/AnyEvent::Impl::Tk.3*
%endif
%{_mandir}/man3/AnyEvent::Impl::UV.3*
%{_mandir}/man3/AnyEvent::Intro.3*
%{_mandir}/man3/AnyEvent::IO.3*
@ -204,11 +301,89 @@ make test
%changelog
* Tue Jul 17 2018 Petr Pisar <ppisar@redhat.com> - 7.14-6
- Do not test optional backends
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 7.17-8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jul 04 2018 Petr Pisar <ppisar@redhat.com> - 7.14-5
- Disable optional features
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 7.17-7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Petr Pisar <ppisar@redhat.com> - 7.17-6
- Conditionalize POE support
- Conditionalize Tk support
- Conditionalize Glib support
- Conditionalize Event support
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.17-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 7.17-4
- Perl 5.32 re-rebuild of bootstrapped packages
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 7.17-3
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Sep 18 2019 Paul Howarth <paul@city-fan.org> - 7.17-1
- Update to 7.17
- Work around antique openssl version in RHEL-7 by formatting dh parameters
differently
- Add t/13_weaken.t
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jul 21 2019 Paul Howarth <paul@city-fan.org> - 7.16-1
- Update to 7.16
- Add ffdhe group dh parameters from RFC 7919, and use ffdhe3072 as new
default, instead of schmorp1539
- AnyEvent::Log did not re-assess logging status of AnyEvent::Log::loggers
when contexts were changed with ->attach/detach/slaves, causing them not to
log even though a recent attach should have caused them to log
- Added some more logging configuration examples
- Mention RFC 8482 in AnyEvent::DNS
- ffdhe group dh parameters require OpenSSL 1.0.2 (CPAN RT#130116)
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 7.15-3
- Perl 5.30 re-rebuild of bootstrapped packages
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 7.15-2
- Perl 5.30 rebuild
* Tue Feb 26 2019 Paul Howarth <paul@city-fan.org> - 7.15-1
- Update to 7.15
- INCOMPATIBLE CHANGE: AnyEvent::Handle's tls_detect documentation gave
separate major and minor versions, while code passed only a single value;
this version follows the documentation and now passes separate major and
minor values
- Work around Net::SSLeay not having been ported to openssl 1.1, but many
distributions compiling it against openssl 1.1, which unfortunately
succeeds and results in a very broken module
- AnyEvent::DNS::dns_unpack now stores the original DNS packet in the __
member, to allow decoding of undecodable resource records containing
compressed domain names
- AnyEvent::Socket::parse_ipv6 would NOT, as advertised, accept ipv4
addresses; it now does and converts them to ipv4 mapped addresses
- Support CAA records
- Add freenom and cloudflare nameservers as DNS fallback
- AnyEvent::Strict would not properly ward against io watchers on files when
the handle passed was a file descriptor
- Document "internal" variables used by the DNS en-/decoder to allow
enterprising users to extend them in a semi-official way
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.14-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.14-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7.14-6
- Perl 5.28 re-rebuild of bootstrapped packages
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7.14-5
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.14-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild