commit c15efb0359bb9ac2c5fcc8185c71b4e827be5117 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Jul 24 22:31:37 2013 +0100 Update to 0.48 - New upstream release 0.48 - Make module thread-safe on linux (CPAN RT#38709) - New constructor flag enable_ttys, which when set to 0 disables traversing the device tree - New maintainer JSWARTZ - Fix reading process command lines (CPAN RT#51470) - Fixes for non-threaded perls (CPAN RT#41397, CPAN RT#46861, CPAN RT#58236) - Fix file descriptor leak (CPAN RT#69397) - Fix unsafe use of /tmp (CPAN RT#72862, CVE-2011-4363) - Various fixes for non-linux operating systems - Fix byte order tag in cache file (CPAN RT#72862) - Fixes to stay accurate on machines with many CPUs (CPAN RT#82175), to include system time into calculations (CPAN RT#80391) and others (CPAN RT#81312, CPAN RT#82175 and CPAN RT#80391) - Fix unknown process states for debian kernels (CPAN RT#71976) - Added tests - Drop ARG_MAX patch, no longer needed - Don't use macros for commands - Don't need to remove empty directories from the buildroot - Don't ship empty TODO file - Drop %defattr, redundant since rpm 4.4 - Specify all dependencies - Add %{?perl_default_filter} .gitignore | 2 +- perl-Proc-ProcessTable-ARG_MAX.patch | 15 ------- perl-Proc-ProcessTable.spec | 72 +++++++++++++++++++++++++-------- sources | 2 +- 4 files changed, 56 insertions(+), 35 deletions(-) --- diff --git a/.gitignore b/.gitignore index d6a3c3b..8c7eef9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Proc-ProcessTable-0.44.tar.gz +/Proc-ProcessTable-[0-9.]*.tar.gz diff --git a/perl-Proc-ProcessTable.spec b/perl-Proc-ProcessTable.spec index 5fdc630..d6c9a1e 100644 --- a/perl-Proc-ProcessTable.spec +++ b/perl-Proc-ProcessTable.spec @@ -1,39 +1,51 @@ Name: perl-Proc-ProcessTable -Version: 0.44 -Release: 14%{?dist} -Summary: Perl extension to access the unix process table +Version: 0.48 +Release: 1%{?dist} +Summary: Perl extension to access the Unix process table License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Proc-ProcessTable/ Source0: http://www.cpan.org/modules/by-module/Proc/Proc-ProcessTable-%{version}.tar.gz -Patch0: perl-Proc-ProcessTable-ARG_MAX.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +BuildRequires: perl(AutoLoader) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Find) +BuildRequires: perl(Storable) +BuildRequires: perl(strict) +BuildRequires: perl(Test) +BuildRequires: perl(subs) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Storable) + +# Avoid provides for private objects +%{?perl_default_filter} %description -Perl interface to the unix process table. +Perl interface to the Unix process table. %prep %setup -q -n Proc-ProcessTable-%{version} -%patch0 -p1 -chmod 644 contrib/* +chmod -c 644 contrib/* %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf %{buildroot} - make pure_install PERL_INSTALL_ROOT=%{buildroot} - find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} %{buildroot}/* +%{_fixperms} %{buildroot} %check make test @@ -42,13 +54,37 @@ make test rm -rf %{buildroot} %files -%defattr(-,root,root,-) -%doc Changes PORTING README README.linux TODO contrib/pswait +%doc Changes PORTING README README.linux contrib/pswait %{perl_vendorarch}/auto/* %{perl_vendorarch}/Proc* %{_mandir}/man3/* %changelog +* Wed Jul 24 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.48-1 +- Update to 0.48 + - Make module thread-safe on linux (CPAN RT#38709) + - New constructor flag enable_ttys, which when set to 0 disables traversing + the device tree + - New maintainer JSWARTZ + - Fix reading process command lines (CPAN RT#51470) + - Fixes for non-threaded perls (CPAN RT#41397, CPAN RT#46861, CPAN RT#58236) + - Fix file descriptor leak (CPAN RT#69397) + - Fix unsafe use of /tmp (CPAN RT#72862, CVE-2011-4363) + - Various fixes for non-linux operating systems + - Fix byte order tag in cache file (CPAN RT#72862) + - Fixes to stay accurate on machines with many CPUs (CPAN RT#82175), to + include system time into calculations (CPAN RT#80391) and others + (CPAN RT#81312, CPAN RT#82175 and CPAN RT#80391) + - Fix unknown process states for debian kernels (CPAN RT#71976) + - Added tests +- Drop ARG_MAX patch, no longer needed +- Don't use macros for commands +- Don't need to remove empty directories from the buildroot +- Don't ship empty TODO file +- Drop %%defattr, redundant since rpm 4.4 +- Specify all dependencies +- Add %%{?perl_default_filter} + * Thu Jul 18 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.44-14 - Perl 5.18 rebuild @@ -71,7 +107,7 @@ rm -rf %{buildroot} - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.44-7 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Thu May 06 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.44-6 - Mass rebuild with perl-5.12.0 diff --git a/sources b/sources index aafb6c1..a9bbcd5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -35f9d55983d77c4ed4f96ef415f16fba Proc-ProcessTable-0.44.tar.gz +ddc2c67cd1184ddb0ba1f84e89b90e2a Proc-ProcessTable-0.48.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel