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-Data-Buffer?expand=0&rev=8
This commit is contained in:
Stephan Kulow
2010-12-03 14:00:31 +00:00
committed by Git OBS Bridge
parent 45f9e3c081
commit af530314be

View File

@@ -3,12 +3,13 @@ Name: perl-%{modname}
Version: 0.04 Version: 0.04
Release: 1 Release: 1
Summary: Read/write buffer class Summary: Read/write buffer class
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros
License: GPL/Artistic License: GPL/Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2 Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
%{perl_requires}
%description %description
Data::Buffer implements a low-level binary buffer in which you can get and put Data::Buffer implements a low-level binary buffer in which you can get and put