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-ExtUtils-CChecker?expand=0&rev=4
This commit is contained in:
parent
5fc1d724dc
commit
5a745026a0
@ -29,13 +29,11 @@ Url: http://search.cpan.org/dist/ExtUtils-CChecker/
|
|||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
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::Exception)
|
BuildRequires: perl(Test::Exception)
|
||||||
%{perl_requires}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Often Perl modules are written to wrap functionallity found in existing C
|
Often Perl modules are written to wrap functionallity found in existing C
|
||||||
|
Loading…
Reference in New Issue
Block a user