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-Log-Log4perl?expand=0&rev=16
This commit is contained in:
parent
be79e322f8
commit
d853f3c157
@ -31,10 +31,9 @@ Url: http://search.cpan.org/dist/Log-Log4perl/
|
||||
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
|
||||
%if %{with test}
|
||||
# fix build cycle, do not enable
|
||||
BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10
|
||||
@ -48,7 +47,6 @@ BuildRequires: perl(File::Spec) >= 0.82
|
||||
#BuildRequires: perl(DBI) >= 1.607
|
||||
#BuildRequires: perl(DBD::CSV) >= 0.22
|
||||
#BuildRequires: perl(IO::Socket::INET)
|
||||
%{perl_requires}
|
||||
Requires: perl(DBI) >= 1.607
|
||||
Requires: perl(IO::Socket::INET)
|
||||
Requires: perl(Log::Dispatch)
|
||||
|
Loading…
Reference in New Issue
Block a user