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-Math-Matrix?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2010-12-03 14:42:18 +00:00
committed by Git OBS Bridge
parent f0649b4068
commit 0a6aecaaae

View File

@@ -28,11 +28,9 @@ Url: http://search.cpan.org/dist/Math-Matrix/
Source: http://www.cpan.org/modules/by-module/Math/Math-Matrix-%{version}.tar.gz Source: http://www.cpan.org/modules/by-module/Math/Math-Matrix-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires} %{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description %description
Perl Module for handling matrices Perl Module for handling matrices