Accepting request 36910 from devel:languages:perl

checked in (request 36910)

OBS-URL: https://build.opensuse.org/request/show/36910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Util?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-04-04 18:11:13 +00:00 committed by Git OBS Bridge
parent e8fd74a964
commit 95407acd1d
4 changed files with 37 additions and 48 deletions

3
Params-Util-1.00.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3574df4face382ab02e86f2d7f3f5d18317a5440e01454931e8c678a87506d30
size 28771

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:667dd64b36770ce72d9629d0e16b960a49d204e493b7d658184130230d8beac5
size 28839

View File

@ -1,20 +1,3 @@
-------------------------------------------------------------------
Sun Apr 4 17:57:21 UTC 2010 - chris@computersalat.de
- spec mods
- fixed HEADER
- updated Url
- fixed perl-macros deps
-------------------------------------------------------------------
Sun Mar 21 17:57:30 UTC 2010 - lars@linux-schulserver.de
- update to 1.01:
+ Fixed can_cc() bug in Makefile.PL where it was checking an
existence of PATH directory rather than executables. RT#55668
(DGOLDEN, MIYAGAWA)
- build parallel
-------------------------------------------------------------------
Thu Mar 4 10:38:55 UTC 2010 - coolo@novell.com

View File

@ -1,5 +1,7 @@
#
# spec file for package perl-Params-Util (Version 1.01)
# spec file for package perl-Params-Util (Version 1.00)
#
# Copyright (c) 2010 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
@ -10,21 +12,24 @@
# 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/
#
# norootforbuild
Name: perl-Params-Util
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Simple, compact and correct param-checking functions
Version: 1.01
Version: 1.00
Release: 2
License: Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Params-Util
Url: http://search.cpan.org/perldoc?Params::Util
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Scalar::Util) >= 1.18
BuildRequires: perl(Test::More) >= 0.42
BuildRequires: perl(File::Spec) >= 0.80
@ -34,6 +39,9 @@ Requires: perl(Test::More) >= 0.42
Requires: perl(File::Spec) >= 0.80
%description
%{cpan_name} module for perl
Params::Util provides a basic set of importable functions that makes checking
parameters a hell of a lot easier While they can be (and are) used in other
contexts, the main point behind this module is that the functions both Do What
@ -57,16 +65,14 @@ param to just have it export everything (although this is not recommended if
you have any _FOO functions yourself with which future additions to
Params::Util may clash)
Author:
-------
Adam Kennedy <adamk@cpan.org>
Author: Adam Kennedy <adamk@cpan.org>
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?jobs:-j%jobs}
%{__make}
%check
%{__make} test
@ -82,6 +88,6 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%doc Changes LICENSE README
%doc README
%changelog