File perl-BSD-Resource.spec of Package perl-BSD-Resource
#
# spec file for package perl-BSD-Resource (Version 1.2903)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-BSD-Resource
Version: 1.2903
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
Url: http://cpan.org/modules/by-module/BSD
Summary: BSD::Resource Perl Module
Source: BSD-Resource-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
BSD::Resource is a class implementing access to process resource limit
and priority functions (e.g. getrusage, setrlimit, etc).
Authors:
--------
Jarkko Hietaniemi <jhi@iki.fi>
%prep
%setup -q -n BSD-Resource-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%check
%ifnarch %arm
make test
%endif
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/BSD
%{perl_vendorarch}/BSD
/var/adm/perl-modules/%{name}
%changelog
* Mon Apr 06 2009 anicka@suse.cz
- update to 1.2903
* Address rt.cpan.org #44082:
"Bug in compiler detection (Makefile.PL)" (for AIX xlc)
* Fri Jan 23 2009 anicka@suse.cz
- update to 1.2902
* Lowered the "0.95 of the current limit" down to
"0.75 of the current limit" in setrlimit.t so that
more memory-constrained systems (like 2MB or less of
default stack) have slightly more chance of completing the test.
The 0.75 also has more chance of aligning with page sizes.
* The scalar context return of getrlimit() was documented
to return an object, even though it really returned the
soft limit. Fixed the documentation.
* Judging by the cpantesters reports no netbsd has a functional
RLIMIT_STACK, so skipping the test in all of them.
* netbsd-alpha does not have a functional RLIMIT_STACK,
reported by David Cantrell. Skip the test, and document
as a known issue.
- remove the last patch, because upstream prefers fixing documentation
before fixing the behavior. We are compatible with the upstream now,
but not with our last release.
* Tue Nov 25 2008 anicka@suse.cz
- getrlimit: return object in scalar context according to
the documentation (bnc#446693)
* Mon Mar 03 2008 anicka@suse.cz
- update to 1.2901
* Rewrite the setrlimit.t test.
* Allow calling getrlimit/setrlimit and getpriority/setpriority
with the string names ("RLIMIT_NPROC", for example).
* Include ppport.h (generated with perl 5.8.8), reshuffle
system header includes appropriately.
- drop setrlimit.t patch
* Sun Jan 13 2008 coolo@suse.de
- take a patch from fedora to make it build
* Fri Oct 27 2006 dmueller@suse.de
- don't build as root
* Wed Jul 12 2006 anicka@suse.cz
- update to 1.28
* many bugfixes added
- remove unneccessary test patch
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 15 2005 uli@suse.de
- no test on ARM (unimplemented calls in QEMU)
* Fri Aug 13 2004 mjancar@suse.cz
- update to 1.24
* Thu Feb 26 2004 mjancar@suse.cz
- update to 1.23
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Aug 07 2003 mjancar@suse.cz
- fix test that assumed that it runs with nice 0
* Wed Aug 06 2003 mludvig@suse.cz
- package creation