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-Devel-StackTrace?expand=0&rev=10
This commit is contained in:
parent
2e6d34f9bd
commit
5b712b82af
@ -27,17 +27,15 @@ Group: Development/Libraries/Perl
|
|||||||
Url: http://search.cpan.org/dist/Devel-StackTrace
|
Url: http://search.cpan.org/dist/Devel-StackTrace
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(Test::More) >= 0.46
|
BuildRequires: perl(Test::More) >= 0.46
|
||||||
# other not perl || perl-base
|
# other not perl || perl-base
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(File::Spec)
|
Requires: perl(File::Spec)
|
||||||
Requires: perl(Scalar::Util)
|
Requires: perl(Scalar::Util)
|
||||||
Provides: %{cpan_name}
|
Provides: %{cpan_name}
|
||||||
|
Loading…
Reference in New Issue
Block a user