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-DateTime-Format-Strptime?expand=0&rev=7
This commit is contained in:
parent
29f5fda64e
commit
94fef67f87
@ -30,15 +30,13 @@ Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Patch: %{cpan_name}-1.5000-deps.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(DateTime) >= 0.44
|
||||
BuildRequires: perl(DateTime::Locale) >= 0.45
|
||||
BuildRequires: perl(DateTime::TimeZone) >= 0.79
|
||||
BuildRequires: perl(Params::Validate) >= 0.64
|
||||
%{perl_requires}
|
||||
Requires: perl(DateTime) >= 0.44
|
||||
Requires: perl(DateTime::Locale) >= 0.45
|
||||
Requires: perl(DateTime::TimeZone) >= 0.79
|
||||
|
Loading…
Reference in New Issue
Block a user