forked from perl/perl-YAML-Syck
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-YAML-Syck?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
86e8029312
commit
763f40fa00
@@ -30,16 +30,14 @@ Url: http://search.cpan.org/dist/YAML-Syck/
|
||||
#Source: http://www.cpan.org/modules/by-module/YAML/YAML-Syck-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
%if %{with opt}
|
||||
BuildRequires: perl(Devel::Leak)
|
||||
%endif
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::More)
|
||||
%{perl_requires}
|
||||
Requires: perl(Scalar::Util)
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user