From 390ee8066bc791bf6a150eaff2fb93e222defdf4fdefe613a708d929ec347315 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 13:55:13 +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-Archive-Zip?expand=0&rev=11 --- perl-Archive-Zip.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Archive-Zip.spec b/perl-Archive-Zip.spec index 58ada63..7369add 100644 --- a/perl-Archive-Zip.spec +++ b/perl-Archive-Zip.spec @@ -30,10 +30,9 @@ Url: http://search.cpan.org/dist/Archive-Zip/ 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(Test::More) >= 0.42 BuildRequires: perl(Compress::Raw::Zlib) >= 2.017 BuildRequires: perl(File::Basename) @@ -47,7 +46,6 @@ BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Seekable) BuildRequires: perl(Time::Local) # -%{perl_requires} Requires: perl(Compress::Raw::Zlib) >= 2.017 Requires: perl(File::Basename) Requires: perl(File::Copy)