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-Parse-Yapp?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2010-12-03 14:45:54 +00:00 committed by Git OBS Bridge
parent 87d6a9ae84
commit c061660c6c

View File

@ -21,7 +21,6 @@
Name: perl-Parse-Yapp
Version: 1.05
Release: 533
%{perl_requires}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic ; GPLv2+
@ -29,7 +28,9 @@ Url: http://cpan.org/modules/by-module/Parse
Summary: Perl extension for generating and using LALR parsers
Source: Parse-Yapp-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of