fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Version-Next?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
d8caa63901
commit
f53e16de33
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 24 23:50:59 UTC 2011 - chris@computersalat.de
|
||||||
|
|
||||||
|
- fix deps
|
||||||
|
* ExtUtils::MakeMaker >= 6.31
|
||||||
|
* Test::More >= 0.88 (done_testing)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 21 20:36:37 UTC 2011 - coolo@novell.com
|
Fri Jan 21 20:36:37 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
|||||||
@@ -21,21 +21,26 @@ Release: 1
|
|||||||
License: Apache Software License
|
License: Apache Software License
|
||||||
%define cpan_name Version-Next
|
%define cpan_name Version-Next
|
||||||
Summary: increment module version numbers simply and correctly
|
Summary: increment module version numbers simply and correctly
|
||||||
Url: http://search.cpan.org/dist/Version-Next/
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/Version-Next/
|
||||||
#Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Version-Next-%{version}.tar.gz
|
#Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Version-Next-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRequires: perl(Carp)
|
BuildArch: noarch
|
||||||
BuildRequires: perl(File::Find)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl(File::Temp)
|
|
||||||
BuildRequires: perl(Sub::Exporter)
|
|
||||||
BuildRequires: perl(Test::Exception) >= 0.29
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||||
|
BuildRequires: perl(File::Find)
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
|
BuildRequires: perl(Test::Exception) >= 0.29
|
||||||
|
%if 0%{?suse_version} >= 1120
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
%endif
|
||||||
|
#
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Sub::Exporter)
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
Requires: perl(Sub::Exporter)
|
Requires: perl(Sub::Exporter)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -50,6 +55,13 @@ the Perl::Version manpage.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%if 0%{?sles_version} == 10
|
||||||
|
%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} < 1120 || 0%{?rhel_version} || 0%{?centos_version}
|
||||||
|
%{__perl} -p -i \
|
||||||
|
-e 's|(use Test::More).*|\1 qw(no_plan);|' t/version-next.t
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
|||||||
Reference in New Issue
Block a user