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-Text-CharWidth?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2010-12-03 14:53:36 +00:00 committed by Git OBS Bridge
parent 40dc5613c3
commit 0410b92608

View File

@ -21,7 +21,6 @@
Name: perl-Text-CharWidth Name: perl-Text-CharWidth
License: Artistic License: Artistic
Group: System/I18n/Japanese Group: System/I18n/Japanese
%{perl_requires}
AutoReqProv: on AutoReqProv: on
Summary: Get number of occupied columns of a string on terminal Summary: Get number of occupied columns of a string on terminal
Version: 0.04 Version: 0.04
@ -29,7 +28,9 @@ Release: 82
Url: http://search.cpan.org/~kubota/Text-CharWidth-0.04/CharWidth.pm Url: http://search.cpan.org/~kubota/Text-CharWidth-0.04/CharWidth.pm
Source0: http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/Text-CharWidth-0.04.tar.bz2 Source0: http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/Text-CharWidth-0.04.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros
%description %description
Get number of occupied columns of a string on terminal Get number of occupied columns of a string on terminal