forked from pool/perl-HTTP-DAV
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-HTTP-DAV?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
5381d7d7f1
commit
320ad3fbfd
@@ -30,14 +30,12 @@ Url: http://search.cpan.org/dist/HTTP-DAV/
|
||||
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(LWP) >= 5.48
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(XML::DOM)
|
||||
%{perl_requires}
|
||||
Requires: perl(LWP) >= 5.48
|
||||
Requires: perl(Scalar::Util)
|
||||
Requires: perl(XML::DOM)
|
||||
|
||||
Reference in New Issue
Block a user