4 |
%define module RPM4 |
%define module RPM4 |
5 |
%define name perl-%{module} |
%define name perl-%{module} |
6 |
%define version 0.23 |
%define version 0.23 |
7 |
%define release %mkrel 13 |
%define release %mkrel 14 |
8 |
|
|
9 |
%define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) |
%define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) |
10 |
|
|
18 |
Patch0: RPM4-fix-build-with-rpm46.patch |
Patch0: RPM4-fix-build-with-rpm46.patch |
19 |
Patch1: RPM4-0.23-rpm48.patch |
Patch1: RPM4-0.23-rpm48.patch |
20 |
Url: http://search.cpan.org/dist/RPM4/ |
Url: http://search.cpan.org/dist/RPM4/ |
21 |
Buildroot: %{_tmppath}/%{name}-root |
|
22 |
BuildRequires: perl-devel >= 5.8.0 |
BuildRequires: perl-devel >= 5.8.0 |
23 |
BuildRequires: rpm-devel |
BuildRequires: rpm-devel |
24 |
BuildRequires: perl-Digest-SHA1 |
BuildRequires: perl-Digest-SHA1 |
25 |
BuildRequires: librpmconstant-devel |
BuildRequires: librpmconstant-devel |
26 |
BuildRequires: packdrake |
BuildRequires: packdrake |
27 |
BuildRequires: perl-MDV-Packdrakeng |
BuildRequires: perl-MDV-Packdrakeng |
28 |
BuildRequires: gnupg |
BuildRequires: gnupg |
29 |
|
|
30 |
Requires: perl |
Requires: perl |
31 |
# we can now expect librpm API to be at least backward compatible |
# we can now expect librpm API to be at least backward compatible |
32 |
Requires: rpm >= %{rpm_version} |
Requires: rpm >= %{rpm_version} |