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-HTML-Prototype?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2010-12-03 14:37:32 +00:00
committed by Git OBS Bridge
parent 2d7c5631c1
commit 3934da5d90

View File

@@ -13,17 +13,18 @@
Name: perl-HTML-Prototype
URL: http://search.cpan.org/dist/HTML-Prototype
BuildRequires: perl-HTML-Tree perl-Class-Accessor
BuildRequires: perl-macros
License: GPL, Artistic License
Group: Development/Libraries/Perl
Autoreqprov: on
Requires: perl-DBI
%{perl_requires}
Summary: Generate HTML and Javascript for the Prototype library
Version: 1.48
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
Source: http://search.cpan.org/CPAN/authors/id/E/ES/ESSKAR/HTML-Prototype-%{version}.tar.gz
%{perl_requires}
BuildRequires: perl
%description