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-DBD-mysql?expand=0&rev=16
This commit is contained in:
parent
8811c4d5ea
commit
43ac594a32
@ -29,14 +29,12 @@ Url: http://search.cpan.org/dist/DBD-mysql/
|
||||
#Source: http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: mysql-devel
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(DBI) >= 1.08
|
||||
%{perl_requires}
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(DBI) >= 1.08
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user