1
0

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-RecDescent?expand=0&rev=23
This commit is contained in:
Stephan Kulow 2010-12-03 14:45:52 +00:00 committed by Git OBS Bridge
parent 4f152c459a
commit 426de662f7

View File

@ -31,16 +31,14 @@ Source: %{cpan_name}-%{version}.tar.bz2
# bnc#653512
Patch0: %{cpan_name}-%{version}.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Balanced)
BuildRequires: perl(version)
%{perl_requires}
Requires: perl(Text::Balanced)
Requires: perl(version)