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-DES?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2010-12-03 13:59:13 +00:00 committed by Git OBS Bridge
parent 49fecb0f8f
commit 4ed6969c15

View File

@ -29,12 +29,10 @@ Url: http://search.cpan.org/dist/Crypt-DES/
#Source: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-2.05.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Crypt::CBC)
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Crypt::CBC)
%description
The module implements the Crypt::CBC interface, which has the following