|
|
|
@ -1,22 +1,21 @@
|
|
|
|
|
Name: perl-EV
|
|
|
|
|
Version: 4.33
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Summary: Wrapper for the libev high-performance event loop library
|
|
|
|
|
|
|
|
|
|
# Note: The source archive includes a libev/ folder which contents are licensed
|
|
|
|
|
# as "BSD or GPLv2+". However, those are removed at build-time and
|
|
|
|
|
# perl-EV is instead built against the system-provided libev.
|
|
|
|
|
License: GPL-1.0-or-later
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/EV
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
|
|
|
|
|
Patch0: perl-EV-4.03-Don-t-ask-questions-at-build-time.patch
|
|
|
|
|
Patch1: perl-EV-4.30-Don-t-check-bundled-libev.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(common::sense)
|
|
|
|
|
BuildRequires: gdbm-devel
|
|
|
|
@ -24,9 +23,6 @@ BuildRequires: libev-source >= 4.33
|
|
|
|
|
BuildRequires: perl(AnyEvent) => 2.6
|
|
|
|
|
BuildRequires: perl(Canary::Stability)
|
|
|
|
|
|
|
|
|
|
# We remove the upstream bundled libev, but still build against statically
|
|
|
|
|
# linked files from the libev-source package.
|
|
|
|
|
Provides: bundled(libev)
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -44,8 +40,8 @@ much more detailed information.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n EV-%{version}
|
|
|
|
|
|
|
|
|
|
%patch -P0 -p1
|
|
|
|
|
%patch -P1 -p0
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p0
|
|
|
|
|
|
|
|
|
|
# remove all traces of the bundled libev
|
|
|
|
|
rm -fr ./libev
|
|
|
|
@ -56,37 +52,30 @@ cp -r /usr/share/libev-source/* ./libev/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%make_build
|
|
|
|
|
PERL_CANARY_STABILITY_NOPROMPT=1 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%make_build test
|
|
|
|
|
%{make_build} test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorarch}/*
|
|
|
|
|
%exclude %dir %{perl_vendorarch}/auto/
|
|
|
|
|
%{_mandir}/man3/EV*.3pm*
|
|
|
|
|
%doc Changes COPYING README
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
|
%{perl_vendorarch}/EV.pm
|
|
|
|
|
%{perl_vendorarch}/EV
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Sep 11 2023 Carl George <carlwgeorge@fedoraproject.org> - 4.33-14
|
|
|
|
|
- Update license field with SPDX identifier
|
|
|
|
|
- Add provides for bundled libev
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 4.33-12
|
|
|
|
|
- Perl 5.38 rebuild
|
|
|
|
|
* Tue Sep 19 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.33-11
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.33-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|