forked from pool/perl-Parse-RecDescent
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:
parent
4f152c459a
commit
426de662f7
@ -31,16 +31,14 @@ Source: %{cpan_name}-%{version}.tar.bz2
|
|||||||
# bnc#653512
|
# bnc#653512
|
||||||
Patch0: %{cpan_name}-%{version}.patch
|
Patch0: %{cpan_name}-%{version}.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Text::Balanced)
|
BuildRequires: perl(Text::Balanced)
|
||||||
BuildRequires: perl(version)
|
BuildRequires: perl(version)
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(Text::Balanced)
|
Requires: perl(Text::Balanced)
|
||||||
Requires: perl(version)
|
Requires: perl(version)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user