3 |
|
|
4 |
%define module RPM4 |
%define module RPM4 |
5 |
%define name perl-%{module} |
%define name perl-%{module} |
6 |
%define version 0.26 |
%define version 0.27 |
7 |
%define release %mkrel 1 |
%define release %mkrel 1 |
8 |
|
|
9 |
%define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) |
%define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) |
14 |
Summary: Perl bindings to use rpmlib and manage hdlist files |
Summary: Perl bindings to use rpmlib and manage hdlist files |
15 |
License: GPL |
License: GPL |
16 |
Group: Development/Perl |
Group: Development/Perl |
17 |
Source: %{module}-%{version}.tar.gz |
Source: %{module}-%{version}.tar.xz |
|
# disable 3 tests with rpm-4.8: |
|
|
Patch0: RPM4-0.25-disable-more-tests.diff |
|
18 |
Url: http://search.cpan.org/dist/RPM4/ |
Url: http://search.cpan.org/dist/RPM4/ |
19 |
|
|
20 |
BuildRequires: perl-devel >= 5.8.0 |
BuildRequires: perl-devel >= 5.8.0 |
44 |
|
|
45 |
%prep |
%prep |
46 |
%setup -q -n %{module}-%{version} |
%setup -q -n %{module}-%{version} |
|
%patch0 -p0 |
|
47 |
|
|
48 |
%build |
%build |
49 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
%{__perl} Makefile.PL INSTALLDIRS=vendor |