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-Algorithm-Munkres?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2010-12-03 13:54:22 +00:00
committed by Git OBS Bridge
parent 11a929676d
commit f14fedd583

View File

@@ -27,12 +27,10 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Algorithm-Munkres/
Source: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Munkres-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildArch: noarch
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires}
%description
Assignment Problem: Given N jobs, N workers and the time taken by each