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-Accessor?expand=0&rev=14
This commit is contained in:
Stephan Kulow 2010-12-03 13:56:43 +00:00 committed by Git OBS Bridge
parent 1e868c310c
commit 214db38343

View File

@ -28,10 +28,10 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dists/Class-Accessor
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Sub::Name)
%{perl_requires}
Requires: perl(Carp)
Requires: perl(Sub::Name)
Provides: %{cpan_name}