forked from pool/perl-Params-Util
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:
committed by
Git OBS Bridge
parent
95407acd1d
commit
a8fb8f71e8
@@ -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
3
Params-Util-1.01.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:667dd64b36770ce72d9629d0e16b960a49d204e493b7d658184130230d8beac5
|
||||||
|
size 28839
|
@@ -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
|
Thu Mar 4 10:38:55 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -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.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -15,33 +15,31 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Params-Util
|
Name: perl-Params-Util
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Summary: Simple, compact and correct param-checking functions
|
Summary: Simple, compact and correct param-checking functions
|
||||||
Version: 1.00
|
Version: 1.01
|
||||||
Release: 2
|
Release: 1
|
||||||
License: Artistic
|
License: Artistic
|
||||||
Group: Development/Libraries/Perl
|
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
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
BuildRequires: perl(Scalar::Util) >= 1.18
|
BuildRequires: perl(Scalar::Util) >= 1.18
|
||||||
BuildRequires: perl(Test::More) >= 0.42
|
BuildRequires: perl(Test::More) >= 0.42
|
||||||
BuildRequires: perl(File::Spec) >= 0.80
|
BuildRequires: perl(File::Spec) >= 0.80
|
||||||
Requires: perl = %{perl_version}
|
%{perl_requires}
|
||||||
Requires: perl(Scalar::Util) >= 1.18
|
Requires: perl(Scalar::Util) >= 1.18
|
||||||
Requires: perl(Test::More) >= 0.42
|
Requires: perl(Test::More) >= 0.42
|
||||||
Requires: perl(File::Spec) >= 0.80
|
Requires: perl(File::Spec) >= 0.80
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
%{cpan_name} module for perl
|
|
||||||
|
|
||||||
Params::Util provides a basic set of importable functions that makes checking
|
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
|
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
|
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
|
you have any _FOO functions yourself with which future additions to
|
||||||
Params::Util may clash)
|
Params::Util may clash)
|
||||||
|
|
||||||
Author: Adam Kennedy <adamk@cpan.org>
|
Author:
|
||||||
|
-------
|
||||||
|
Adam Kennedy <adamk@cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
%{__make}
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
@@ -88,6 +88,6 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
# normally you only need to check for doc files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user