diff --git a/perl-rpm-build-perl.spec b/perl-rpm-build-perl.spec index d96d3d8..18080a8 100644 --- a/perl-rpm-build-perl.spec +++ b/perl-rpm-build-perl.spec @@ -10,6 +10,7 @@ Url: http://search.cpan.org/dist/rpm-build-perl BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch +Patch0: rpm-build-perl-0.6.8-old.patch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(B) @@ -35,6 +36,8 @@ The provides/requires scripts packaged along with perl-rpm-build-perl. %prep %setup -q -n rpm-build-perl-%{version} +# not sure if this package really works if R are so old versioned +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor