From 1b1e7adee9b6d4fbef9ab1abd5a15779d0101cae7c92870df8dc4a3a58fd96ce Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:06:42 +0000 Subject: [PATCH] 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-Graph?expand=0&rev=3 --- perl-Graph.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Graph.spec b/perl-Graph.spec index 15610d9..a2ca619 100644 --- a/perl-Graph.spec +++ b/perl-Graph.spec @@ -31,10 +31,9 @@ Url: http://search.cpan.org/dist/Graph/ 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 %if %{with pod} BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 @@ -47,7 +46,6 @@ BuildRequires: perl(Scalar::Util) BuildRequires: perl(Safe) BuildRequires: perl(Storable) >= 2.05 # -%{perl_requires} Requires: perl(List::Util) Requires: perl(Math::Complex) Requires: perl(Scalar::Util)