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-File-Find-Rule?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2010-12-03 14:04:58 +00:00 committed by Git OBS Bridge
parent 94ce6310c2
commit d88a6c3d6c

View File

@ -4,7 +4,6 @@ Name: perl-%cpan_name
Version: 0.30 Version: 0.30
Release: 1 Release: 1
Provides: %cpan_name Provides: %cpan_name
%{perl_requires}
Requires: perl-Number-Compare perl-Text-Glob Requires: perl-Number-Compare perl-Text-Glob
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Artistic License: Artistic
@ -12,7 +11,9 @@ URL: http://search.cpan.org/dist/File-Find-Rule/
Summary: Alternative interface to File::Find Summary: Alternative interface to File::Find
Source: %cpan_name-%{version}.tar.gz Source: %cpan_name-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl-Number-Compare perl-Text-Glob BuildRequires: perl-Number-Compare perl-Text-Glob
BuildRequires: perl-macros
%description %description
File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories. File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories.