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-Class-Data-Inheritable?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2010-12-03 13:57:08 +00:00 committed by Git OBS Bridge
parent a420a1d0e8
commit e303bc97e5

View File

@ -30,11 +30,9 @@ Url: http://search.cpan.org/dist/Class-Data-Inheritable/
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
Class::Data::Inheritable is for creating accessor/mutators to class data.