8
0

siwtch to perl_requires macro

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Util?expand=0&rev=11
This commit is contained in:
Stephan Kulow
2010-12-01 13:51:59 +00:00
committed by Git OBS Bridge
parent 95407acd1d
commit a8fb8f71e8
4 changed files with 55 additions and 33 deletions

View File

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

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

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Dec 1 13:34:18 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
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,5 @@
#
# spec file for package perl-Params-Util (Version 1.00)
# spec file for package perl-Params-Util (Version 1.01)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,33 +15,31 @@
# 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.00
Release: 2
Version: 1.01
Release: 1
License: Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?Params::Util
Url: http://search.cpan.org/dist/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
Requires: perl = %{perl_version}
%{perl_requires}
Requires: perl(Scalar::Util) >= 1.18
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
@@ -65,14 +63,16 @@ Requires: perl(File::Spec) >= 0.80
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}
%{__make} %{?jobs:-j%jobs}
%check
%{__make} test
@@ -88,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 README
%doc Changes LICENSE README
%changelog