# Run optional test %if ! (0%{?rhel}) %bcond_without perl_IPC_SysV_enables_optional_test %else %bcond_with perl_IPC_SysV_enables_optional_test %endif Name: perl-IPC-SysV Version: 2.09 Release: 512%{?dist} Summary: Object interface to System V IPC License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/IPC-SysV Source0: https://cpan.metacpan.org/authors/id/M/MH/MHX/IPC-SysV-%{version}.tar.gz %if !%{with perl_IPC_SysV_enables_optional_test} || %{defined perl_bootstrap} BuildRequires: coreutils %endif BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Class::Struct) BuildRequires: perl(Exporter) BuildRequires: perl(vars) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(Test::More) >= 0.45 BuildRequires: perl(warnings) %if %{with perl_IPC_SysV_enables_optional_test} && !%{defined perl_bootstrap} # Optional tests: BuildRequires: perl(Pod::Coverage) >= 0.10 BuildRequires: perl(Test::Pod) >= 0.95 BuildRequires: perl(Test::Pod::Coverage) >= 1.08 %endif Conflicts: perl < 4:5.22.0-351 %description This is an object interface for System V messages, semaphores, and inter-process calls. %package tests Summary: Tests for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness Requires: perl(Config) Requires: perl(Test::More) %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n IPC-SysV-%{version} %if !%{with perl_IPC_SysV_enables_optional_test} || %{defined perl_bootstrap} rm t/pod* perl -i -ne 'print $_ unless m{^t/pod}' MANIFEST %endif # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" %{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} %if %{with perl_IPC_SysV_enables_optional_test} && !%{defined perl_bootstrap} rm %{buildroot}%{_libexecdir}/%{name}/t/pod* %endif 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}') unset PERL_CORE make test %files %doc Changes README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/IPC* %{_mandir}/man3/IPC::* %files tests %{_libexecdir}/%{name} %changelog * Fri Jul 19 2024 Fedora Release Engineering - 2.09-512 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jun 12 2024 Jitka Plesnikova - 2.09-511 - Perl 5.40 re-rebuild of bootstrapped packages * Mon Jun 10 2024 Jitka Plesnikova - 2.09-510 - Increase release to favour standalone package * Thu Jan 25 2024 Fedora Release Engineering - 2.09-505 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.09-504 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Nov 23 2023 Petr Pisar - 2.09-503 - Make perl-IPC-SysV-tests package noarch * Mon Nov 20 2023 Jitka Plesnikova - 2.09-502 - Package tests * Thu Jul 20 2023 Fedora Release Engineering - 2.09-501 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Jitka Plesnikova - 2.09-500 - Perl 5.38 re-rebuild of bootstrapped packages * Tue Jul 11 2023 Jitka Plesnikova - 2.09-499 - Increase release to favour standalone package * Fri Jan 20 2023 Fedora Release Engineering - 2.09-491 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.09-490 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 03 2022 Jitka Plesnikova - 2.09-489 - Perl 5.36 re-rebuild of bootstrapped packages * Mon May 30 2022 Jitka Plesnikova - 2.09-488 - Increase release to favour standalone package * Fri Jan 21 2022 Fedora Release Engineering - 2.09-480 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.09-479 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 24 2021 Jitka Plesnikova - 2.09-478 - Perl 5.34 re-rebuild of bootstrapped packages * Fri May 21 2021 Jitka Plesnikova - 2.09-477 - Increase release to favour standalone package * Wed Jan 27 2021 Fedora Release Engineering - 2.09-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 16 2020 Jitka Plesnikova - 2.09-1 - 2.09 bump * Tue Jul 28 2020 Fedora Release Engineering - 2.08-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Jitka Plesnikova - 2.08-2 - Perl 5.32 re-rebuild of bootstrapped packages * Tue Jun 23 2020 Petr Pisar - 2.08-1 - 2.08 bump * Mon Jun 22 2020 Jitka Plesnikova - 2.07-456 - Increase release to favour standalone package * Wed Feb 05 2020 Petr Pisar - 2.07-442 - Modernize the spec file * Thu Jan 30 2020 Fedora Release Engineering - 2.07-441 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.07-440 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 02 2019 Jitka Plesnikova - 2.07-439 - Perl 5.30 re-rebuild of bootstrapped packages * Thu May 30 2019 Jitka Plesnikova - 2.07-438 - Increase release to favour standalone package * Fri Feb 01 2019 Fedora Release Engineering - 2.07-419 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.07-418 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jul 01 2018 Jitka Plesnikova - 2.07-417 - Perl 5.28 re-rebuild of bootstrapped packages * Wed Jun 27 2018 Jitka Plesnikova - 2.07-416 - Increase release to favour standalone package * Thu Feb 08 2018 Fedora Release Engineering - 2.07-397 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.07-396 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.07-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 2.07-394 - Perl 5.26 re-rebuild of bootstrapped packages * Sat Jun 03 2017 Jitka Plesnikova - 2.07-393 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed May 18 2016 Jitka Plesnikova - 2.07-3 - Perl 5.24 re-rebuild of bootstrapped packages * Sat May 14 2016 Jitka Plesnikova - 2.07-2 - Perl 5.24 rebuild * Tue May 10 2016 Petr Pisar - 2.07-1 - 2.07 bump * Mon Feb 29 2016 Petr Pisar - 2.06-1 - 2.06 bump * Mon Feb 15 2016 Petr Pisar 2.05-1 - Specfile autogenerated by cpanspec 1.78.