forked from pool/perl-SQL-Statement
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-SQL-Statement?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
36bf1e266f
commit
ad8b3434ee
@@ -31,7 +31,9 @@ Url: http://search.cpan.org/dist/SQL-Statement/
|
|||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Clone) >= 0.30
|
BuildRequires: perl(Clone) >= 0.30
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
@@ -48,7 +50,6 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
|||||||
BuildRequires: perl(DBD::CSV)
|
BuildRequires: perl(DBD::CSV)
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
Requires: perl(Clone) >= 0.30
|
Requires: perl(Clone) >= 0.30
|
||||||
Requires: perl(Data::Dumper)
|
Requires: perl(Data::Dumper)
|
||||||
|
|||||||
Reference in New Issue
Block a user