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-IO-Tty?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2010-12-03 14:38:59 +00:00 committed by Git OBS Bridge
parent e5469ca635
commit 208216d756

View File

@ -29,11 +29,9 @@ Url: http://search.cpan.org/dist/IO-Tty/
#Source: http://www.cpan.org/authors/id/R/RG/RGIERSIG/IO-Tty-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
IO::Tty is used internally by IO::Pty to create a pseudo-tty. You wouldn't