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-Text-Iconv?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2010-12-03 14:53:50 +00:00 committed by Git OBS Bridge
parent b50ba8faa7
commit a4a8cc8c22

View File

@ -28,9 +28,9 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-Iconv Url: http://search.cpan.org/dist/Text-Iconv
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
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires}
%description %description
The Text::Iconv module provides a Perl interface to the iconv() function as The Text::Iconv module provides a Perl interface to the iconv() function as