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-Dispatch-Perl?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2010-12-03 14:41:12 +00:00
committed by Git OBS Bridge
parent e50c6b1375
commit f6962eff15

View File

@@ -27,12 +27,10 @@ Url: http://search.cpan.org/dist/Log-Dispatch-Perl/
Source: http://www.cpan.org/authors/id/E/EL/ELIZABETH/Log-Dispatch-Perl-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Log::Dispatch) >= 1.16
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Log::Dispatch) >= 1.16
Requires: perl(Log::Dispatch) >= 1.16
BuildArch: noarch