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-Crypt-Rijndael?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2010-12-03 13:59:37 +00:00 committed by Git OBS Bridge
parent ed91c41c62
commit ca6d8c8d28

View File

@ -30,17 +30,15 @@ Url: http://search.cpan.org/dist/Crypt-Rijndael/
#Source: http://www.cpan.org/modules/by-module/Crypt/Crypt-Rijndael-%{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 pod}
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Manifest) >= 1.14
%{perl_requires}
%description
This module implements the Rijndael cipher, which has just been selected as