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-Text-CSV?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2010-12-03 14:53:38 +00:00 committed by Git OBS Bridge
parent ce27da063a
commit 52a33877eb

View File

@ -31,16 +31,14 @@ Url: http://search.cpan.org/dist/Text-CSV/
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
%if %{with pod}
BuildRequires: perl(Test::Pod)
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(IO::Handle)
%{perl_requires}
Requires: perl(IO::Handle)
%description