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-Sort-Versions?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2010-12-03 14:50:09 +00:00 committed by Git OBS Bridge
parent 3be22a6875
commit b9e00a4dbc

View File

@ -3,12 +3,13 @@ Name: perl-%{modname}
Version: 1.5
Release: 1
Summary: A perl 5 module for sorting of revision (and similar) numbers
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
License: GPL/Artistic
Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
%{perl_requires}
%description
This module allows easy sorting (via comparisons) of mixed text and numeric