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