Name: perl-POSIX-AtFork Version: 0.04 Release: 19%{?dist} Summary: Hook registrations at fork(2) # lib/POSIX/AtFork.pm: GPL-1.0-or-later OR Artistic-1.0-Perl # README: GPL-1.0-or-later OR Artistic-1.0-Perl ## Unbundled # inc/Module/Install/XSUtil.pm: GPL-1.0-or-later OR Artistic-1.0-Perl ## Not used # android/pthread-atfork.c: BSD-2-Clause License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/POSIX-AtFork Source0: https://cpan.metacpan.org/authors/id/N/NI/NIKOLAS/POSIX-AtFork-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(inc::Module::Install) BuildRequires: perl(lib) BuildRequires: perl(Module::Install::XSUtil) # Run-time: BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) >= 0.1 # Tests: BuildRequires: perl(POSIX) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::SharedFork) Requires: perl(XSLoader) >= 0.1 %{?perl_default_filter} # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Test::More|XSLoader)\\)$ %description This module is an interface to pthread_atfork(3), which registers handlers called before and after fork(2). %package tests Summary: Tests for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness Requires: perl(Test::More) >= 0.88 %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n POSIX-AtFork-%{version} # Remove bundled modules rm -rf inc/* perl -i -ne 'print $_ unless m{^inc/}' MANIFEST # Remove unused sources rm -rf android perl -i -ne 'print $_ unless m{^android/}' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -size 0 -delete %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %doc Changes README %dir %{perl_vendorarch}/auto/POSIX %dir %{perl_vendorarch}/auto/POSIX/AtFork %{perl_vendorarch}/auto/POSIX/AtFork/AtFork.so %dir %{perl_vendorarch}/POSIX %{perl_vendorarch}/POSIX/AtFork.pm %{_mandir}/man3/POSIX::AtFork.* %files tests %{_libexecdir}/%{name} %changelog * Sat Jan 18 2025 Fedora Release Engineering - 0.04-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 0.04-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Jitka Plesnikova - 0.04-17 - Perl 5.40 rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.04-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.04-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.04-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.04-13 - Perl 5.38 rebuild * Tue Jan 24 2023 Petr Pisar - 0.04-12 - Convert a License tag to an SPDX format - Package the tests * Fri Jan 20 2023 Fedora Release Engineering - 0.04-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.04-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.04-9 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.04-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.04-6 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.04-3 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Jan 07 2020 Petr Pisar - 0.04-1 - 0.04 bump * Fri Jul 26 2019 Fedora Release Engineering - 0.02-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.02-18 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.02-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.02-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.02-15 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.02-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.02-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.02-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.02-11 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.02-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.02-9 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.02-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.02-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.02-6 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 0.02-5 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.02-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.02-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Petr Pisar - 0.02-2 - Perl 5.18 rebuild * Tue Feb 12 2013 Petr Pisar 0.02-1 - Specfile autogenerated by cpanspec 1.78.