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-Markdown?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2010-12-03 14:53:55 +00:00 committed by Git OBS Bridge
parent 4473465068
commit b884b45694

View File

@ -28,12 +28,10 @@ Url: http://search.cpan.org/dist/Text-Markdown/
Source: http://www.cpan.org/modules/by-module/Text/Text-Markdown-1.0.3.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%{perl_requires}
%description
Markdown is a text-to-HTML filter; it translates an easy-to-read /