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-HomeDir?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2010-12-03 14:05:04 +00:00 committed by Git OBS Bridge
parent 533f908be4
commit 5d3adadb8b

View File

@ -30,10 +30,9 @@ Url: http://search.cpan.org/dist/File-HomeDir/
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd) >= 3.12
BuildRequires: perl(File::Spec) >= 3.12
@ -41,7 +40,6 @@ BuildRequires: perl(File::Spec) >= 3.12
#BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Which)
%{perl_requires}
Requires: perl(Carp)
Requires: perl(Cwd) >= 3.12
Requires: perl(File::Spec) >= 3.12