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-Strip?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2010-12-03 14:37:39 +00:00
committed by Git OBS Bridge
parent 81e998a250
commit c2f89d3642

View File

@@ -26,11 +26,9 @@ Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-Strip/
Source: http://www.cpan.org/authors/id/K/KI/KILINRAX/HTML-Strip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
This module simply strips HTML-like markup from text in a very quick and