--- cauldron/perl-RPM4/current/SPECS/perl-RPM4.spec 2011/06/12 13:05:37 104940 +++ cauldron/perl-RPM4/current/SPECS/perl-RPM4.spec 2011/10/18 21:14:33 156425 @@ -4,7 +4,7 @@ %define module RPM4 %define name perl-%{module} %define version 0.23 -%define release %mkrel 14 +%define release %mkrel 15 %define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) @@ -17,6 +17,12 @@ Source: %{module}-%{version}.tar.gz Patch0: RPM4-fix-build-with-rpm46.patch Patch1: RPM4-0.23-rpm48.patch +# (tv) drop support for rpm-4.4.x (too much ifdef/else/endif spaghetti and already broken since rpm-4.6 & rpm-4.8 support patches) +Patch2: RPM4-0.23-drop-support-for-rpm44.diff +# (tv) declare 4.8.0 & 4.8.1 in order to make 4.9.x checks work: +Patch3: RPM4-0.23-rpm48-bis.patch +# (tv) initial rpm-4.9.x support: +Patch4: RPM4-0.23-rpm49.patch Url: http://search.cpan.org/dist/RPM4/ BuildRequires: perl-devel >= 5.8.0 @@ -48,6 +54,9 @@ %setup -q -n %{module}-%{version} %patch0 -p1 -b .rpm46 %patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor