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-Spiffy?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2010-12-03 14:50:11 +00:00 committed by Git OBS Bridge
parent 6a4957b573
commit 7faf81854f

View File

@ -22,14 +22,15 @@ Name: perl-Spiffy
Url: http://search.cpan.org/~ingy/Spiffy Url: http://search.cpan.org/~ingy/Spiffy
License: Artistic License: Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
%{perl_requires}
AutoReqProv: on AutoReqProv: on
Summary: Framework for object oriented programming in Perl. Summary: Framework for object oriented programming in Perl.
Version: 0.30 Version: 0.30
Release: 120 Release: 120
Source: Spiffy-%{version}.tar.gz Source: Spiffy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros
%description %description
"Spiffy" is a framework and methodology for doing object oriented (OO) "Spiffy" is a framework and methodology for doing object oriented (OO)