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-Glib?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2010-12-03 14:06:36 +00:00 committed by Git OBS Bridge
parent 0bd1b45e95
commit 97fbe5217f

View File

@ -20,9 +20,9 @@
Name: perl-Glib
BuildRequires: glib2-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig
BuildRequires: perl-macros
Version: 1.223
Release: 1
%{perl_requires}
AutoReqProv: on
Group: Development/Libraries/Perl
License: LGPLv2.1+
@ -30,6 +30,7 @@ Url: http://cpan.org/modules/by-module/Glib/
Summary: Glib Perl module
Source: Glib-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
This module provides perl access to GLib and GLib's GObject libraries.