From 320ad3fbfdb4761b3dbadb8add3e95d7ba12f73026083d1b5c46f0c1e771f319 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:37:58 +0000 Subject: [PATCH] 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 --- perl-HTTP-DAV.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-HTTP-DAV.spec b/perl-HTTP-DAV.spec index c583869..5d137d4 100644 --- a/perl-HTTP-DAV.spec +++ b/perl-HTTP-DAV.spec @@ -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)