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-PkgConfig?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2010-12-03 14:04:48 +00:00 committed by Git OBS Bridge
parent abb4683730
commit 284efe33b6

View File

@ -30,12 +30,10 @@ Url: http://search.cpan.org/dist/ExtUtils-PkgConfig/
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: pkgconfig
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires}
%description
The pkg-config program retrieves information about installed libraries,