8
0

always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Object?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2010-12-03 14:52:38 +00:00
committed by Git OBS Bridge
parent 0a5f08c1f2
commit a31e2194fe

View File

@@ -29,10 +29,9 @@ Url: http://search.cpan.org/dist/Test-Object/
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec) >= 0.80
@@ -40,7 +39,6 @@ BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util) >= 1.16
BuildRequires: perl(Test::More) >= 0.42
#
%{perl_requires}
Requires: perl(Carp)
Requires: perl(Exporter)
Requires: perl(File::Spec) >= 0.80