Name: perl-Linux-Pid Version: 0.04 Release: 54%{?dist} Summary: Get the native PID and the PPID on Linux License: GPL+ or Artistic URL: https://metacpan.org/release/Linux-Pid Source0: https://cpan.metacpan.org/modules/by-module/Linux/Linux-Pid-%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: # Carp not used at tests BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(Config) BuildRequires: perl(Test::More) BuildRequires: perl(threads) BuildRequires: perl(threads::shared) Requires: perl(Carp) %{?perl_default_filter} %description Linux::Pid gets the native PID and the PPID on Linux. It's useful with multithreaded programs. Linux's C library returns different values of the PID and the PPID from different threads. This module forces Perl to call the underlying C functions getpid() and getppid(). %prep %setup -q -n Linux-Pid-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %files %doc README Changes %{perl_vendorarch}/auto/Linux %{perl_vendorarch}/Linux %{_mandir}/man3/Linux::Pid.3pm.gz %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.04-54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.04-53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.04-52 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.04-51 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.04-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.04-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.04-48 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.04-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.04-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.04-45 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.04-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.04-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.04-42 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.04-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.04-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.04-39 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.04-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.04-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.04-36 - Perl 5.28 rebuild * Thu Mar 1 2018 Florian Weimer - 0.04-35 - Rebuild with new redhat-rpm-config/perl build flags * Mon Feb 26 2018 Xavier Bachelot - 0.04-34 - Add BR: gcc. - Clean up spec. * Thu Feb 08 2018 Fedora Release Engineering - 0.04-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.04-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.04-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.04-30 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.04-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.04-28 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.04-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.04-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.04-25 - Perl 5.22 rebuild * Wed Jan 14 2015 Petr Pisar - 0.04-24 - Specify all dependencies - Fix dependency filtering * Tue Aug 26 2014 Jitka Plesnikova - 0.04-23 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.04-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.04-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.04-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.04-19 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.04-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 20 2012 Petr Šabata - 0.04-17 - Add missing buildtime dependencies - Don't provide private shared libraries * Fri Jul 20 2012 Fedora Release Engineering - 0.04-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.04-15 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.04-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 0.04-13 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.04-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 0.04-11 - 661697 rebuild for fixing problems with vendorach/lib * Mon May 03 2010 Marcela Maslanova - 0.04-10 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.04-9 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.04-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.04-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 0.04-5 Rebuild for new perl * Wed Feb 20 2008 Fedora Release Engineering - 0.04-4 - Autorebuild for GCC 4.3 * Sat Jan 12 2008 Xavier Bachelot - 0.04-3 - Remove '|| :' from %%check section. - Remove uneeded BR:. * Sun Dec 23 2007 Xavier Bachelot - 0.04-2 - Add missing BR. * Sat Dec 22 2007 Xavier Bachelot - 0.04-1 - Update to 0.04. * Tue May 15 2007 Xavier Bachelot - 0.03-2 - Add dist tag - Clean up spec * Wed Apr 06 2005 Xavier Bachelot - 0.03-1 - Initial build