From ef6d9b97526af194b1c5671409ec89b79d83537a Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 19 Sep 2023 14:03:18 +0300 Subject: [PATCH] import perl-EV-4.33-11.el9 --- .gitignore | 1 + .perl-EV.metadata | 1 + ...03-Don-t-ask-questions-at-build-time.patch | 29 ++ ...rl-EV-4.30-Don-t-check-bundled-libev.patch | 23 ++ SPECS/perl-EV.spec | 267 ++++++++++++++++++ 5 files changed, 321 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-EV.metadata create mode 100644 SOURCES/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch create mode 100644 SOURCES/perl-EV-4.30-Don-t-check-bundled-libev.patch create mode 100644 SPECS/perl-EV.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f047b97 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/EV-4.33.tar.gz diff --git a/.perl-EV.metadata b/.perl-EV.metadata new file mode 100644 index 0000000..03d0259 --- /dev/null +++ b/.perl-EV.metadata @@ -0,0 +1 @@ +b517e779455092075ad4094579f43d5910f9d790 SOURCES/EV-4.33.tar.gz diff --git a/SOURCES/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch b/SOURCES/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch new file mode 100644 index 0000000..d2061f2 --- /dev/null +++ b/SOURCES/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch @@ -0,0 +1,29 @@ +From a812d071294832e47a3edbadba250616626b95b7 Mon Sep 17 00:00:00 2001 +From: Mathieu Bridon +Date: Mon, 24 Jan 2011 16:07:23 +0800 +Subject: [PATCH] Don't ask questions at build time. + +Builds must not be interactive in Fedora. Let's just use the defaults +and avoid questions. +--- + Makefile.PL | 4 +--- + 1 files changed, 1 insertions(+), 3 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 2a31180..28d8ddc 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -32,9 +32,7 @@ and hope for the best. The defaults should usually do. + + EOF + +-if (prompt ("Skip further questions and use defaults (y/n)?", "y") =~ /[yY]/) { +- $ENV{PERL_MM_USE_DEFAULT} = 1; +-} ++$ENV{PERL_MM_USE_DEFAULT} = 1; + + print <= 6.76 +BuildRequires: perl(common::sense) +BuildRequires: gdbm-devel +BuildRequires: libev-source >= 4.33 +BuildRequires: perl(AnyEvent) => 2.6 +BuildRequires: perl(Canary::Stability) + + +%{?perl_default_filter} + + +%description +This module provides an interface to libev +(). While the included documentation +is comprehensive, one might also consult the documentation of libev itself +() for more subtle details on watcher +semantics or some discussion on the available backends, or how to force a +specific backend with "LIBEV_FLAGS", or just about in any case because it has +much more detailed information. + + +%prep +%setup -q -n EV-%{version} + +%patch0 -p1 +%patch1 -p0 + +# remove all traces of the bundled libev +rm -fr ./libev + +# use the sources from the system libev +mkdir -p ./libev +cp -r /usr/share/libev-source/* ./libev/ + + +%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} $RPM_BUILD_ROOT/* + + +%check +%{make_build} test + + +%files +%doc Changes COPYING README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/EV.pm +%{perl_vendorarch}/EV +%{_mandir}/man3/*.3* + + +%changelog +* Tue Sep 19 2023 Arkady L. Shane - 4.33-11 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 4.33-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 4.33-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue May 31 2022 Jitka Plesnikova - 4.33-9 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 4.33-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 4.33-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 4.33-6 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 4.33-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Oct 15 2020 Emmanuel Seyman - 4.33-4 +- Replace "make pure_install" with %%{make_install} +- Replace calls to make with %%{make_build} + +* Tue Jul 28 2020 Fedora Release Engineering - 4.33-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 4.33-2 +- Perl 5.32 rebuild + +* Sun Mar 22 2020 Emmanuel Seyman - 4.33-1 +- Update to 4.33 + +* Wed Jan 29 2020 Fedora Release Engineering - 4.31-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Jan 12 2020 Emmanuel Seyman - 4.31-1 +- Update to 4.31 + +* Sun Nov 24 2019 Emmanuel Seyman - 4.30-1 +- Update to 4.30 +- Replace calls to %%{__perl} with /usr/bin/perl +- Patch Makefile.PLL to not check for bundled EV library + +* Tue Jul 30 2019 Emmanuel Seyman - 4.27-1 +- Update to 4.27 + +* Fri Jul 26 2019 Fedora Release Engineering - 4.25-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 4.25-3 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 4.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Dec 23 2018 Emmanuel Seyman - 4.25-1 +- Update to 4.25 + +* Fri Jul 13 2018 Fedora Release Engineering - 4.22-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 4.22-10 +- Perl 5.28 rebuild + +* Thu Mar 1 2018 Florian Weimer - 4.22-9 +- Rebuild with new redhat-rpm-config/perl build flags + +* Mon Feb 26 2018 Carl George - 4.22-8 +- Add BuildRequires for gcc + +* Thu Feb 08 2018 Fedora Release Engineering - 4.22-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 4.22-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 4.22-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 4.22-4 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 4.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 4.22-2 +- Perl 5.24 rebuild + +* Wed Mar 23 2016 Emmanuel Seyman - 4.22-1 +- Update to 4.22 + +* Thu Feb 04 2016 Fedora Release Engineering - 4.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Oct 18 2015 Emmanuel Seyman - 4.21-1 +- Update to 4.21 + +* Thu Jun 18 2015 Fedora Release Engineering - 4.18-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 4.18-5 +- Perl 5.22 rebuild + +* Tue Sep 30 2014 Mathieu Bridon - 4.18-4 +- Bump to rebuild against libev-source 4.19 + +* Sun Sep 14 2014 Emmanuel Seyman - 4.18-3 +- Bump to rebuild against libev-source 4.18 + +* Sun Sep 07 2014 Jitka Plesnikova - 4.18-2 +- Perl 5.20 rebuild + +* Sat Sep 06 2014 Emmanuel Seyman - 4.18-1 +- Update to 4.18 + +* Wed Sep 03 2014 Jitka Plesnikova - 4.17-3 +- Perl 5.20 rebuild + +* Wed Sep 03 2014 Emmanuel Seyman - 4.17-2 +- Downgrade requirement of libev-source to 4.15 +- Truncate RPM Changelog to the 4.xx + +* Sun Aug 31 2014 Emmanuel Seyman - 4.17-1 +- Update to 4.17 + +* Thu Aug 28 2014 Jitka Plesnikova - 4.11-7 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 4.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 4.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 4.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 23 2013 Petr Pisar - 4.11-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 4.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Sep 28 2012 Mathieu Bridon - 4.11-1 +- Update to 4.11 + +* Fri Jul 20 2012 Fedora Release Engineering - 4.03-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 14 2012 Petr Pisar - 4.03-9 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 4.03-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Dec 01 2011 Petr Pisar - 4.03-7 +- Build-require exact or higher version of libev-source (bug #759021) + +* Mon Jun 20 2011 Marcela Mašláňová - 4.03-6 +- Perl mass rebuild + +* Tue Apr 12 2011 Mathieu Bridon - 4.03-5 +- Add the correct Obsoletes/Provides to avoid broken deps from the -devel + subpackage removal. + +* Thu Apr 07 2011 Mathieu Bridon - 4.03-4 +- Readded the header file to the main package, as per guidelines: + -> http://fedoraproject.org/wiki/Packaging/Perl#.h_files_in_module_packages + +* Tue Mar 08 2011 Mathieu Bridon - 4.03-3 +- Some more fixes as part of the review process: + - Fix the license tag to be only the license of perl-EV, and add a note about + the included libev sources. +- Removed manual cleaning of the buildroot since it has been useless since + Fedora 10 and even EPEL (>=6) doesn't need it now. + +* Wed Feb 23 2011 Mathieu Bridon - 4.03-2 +- Fixes asked during the review process: + - Filter the private shared EV.so out of the automatic Provides + - Put the header files in a -devel package +- Removed the Buildroot line since it's useless for newer versions of Fedora + and this package can only go in Fedora >= 15 due to its libev dependency) + +* Mon Jan 24 2011 Mathieu Bridon - 4.03-1 +- Update to 4.03. +- Use the system libev instead of the bundled one.