[perl-Reaper] Initial import

Lubomir Rintel lkundrak at fedoraproject.org
Wed Nov 3 10:04:42 UTC 2010


commit 24d5dafd7a1114b37c67ea32efca97d558bb9e89
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Wed Nov 3 11:03:23 2010 +0100

    Initial import

 .gitignore       |    1 +
 perl-Reaper.spec |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e499662 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Reaper-1.00.tar.gz
diff --git a/perl-Reaper.spec b/perl-Reaper.spec
new file mode 100644
index 0000000..c5ff802
--- /dev/null
+++ b/perl-Reaper.spec
@@ -0,0 +1,60 @@
+Name:           perl-Reaper
+Version:        1.00
+Release:        1%{?dist}
+Summary:        Support for reaping child processes via $SIG{CHLD}
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Reaper/
+Source0:        http://www.cpan.org/authors/id/J/JG/JGS/Reaper-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+perl has an annoying little problem with child processes -- well, it is not
+actually a problem specific to perl, but it is somewhat more difficult with
+perl: reaping child processes after they exit so they don't hang around as
+zombies forever, and doing it in a way that accurately captures the exit
+code of the child.
+
+
+%prep
+%setup -q -n Reaper-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+
+%check
+make test
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+
+%changelog
+* Tue Jun 09 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> 1.00-1
+- Specfile autogenerated by cpanspec 1.78.
+- Fixup license
diff --git a/sources b/sources
index e69de29..d166605 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d9cb7741a8939859f52f177938ae7bea  Reaper-1.00.tar.gz


More information about the scm-commits mailing list