forked from pool/perl-Data-Random
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-Data-Random?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
7bcbce8ab1
commit
72a1362ec0
@@ -29,13 +29,11 @@ Url: http://search.cpan.org/dist/Data-Random/
|
||||
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(Date::Calc)
|
||||
BuildRequires: perl(GD)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
A module used to generate random data. Useful mostly for test programs.
|
||||
|
Reference in New Issue
Block a user