1
0

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
This commit is contained in:
Stephan Kulow 2010-12-03 13:55:13 +00:00 committed by Git OBS Bridge
parent 659fac22aa
commit 390ee8066b

View File

@ -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)