5 |
%define version 3.38.5 |
%define version 3.38.5 |
6 |
%define release %mkrel 1 |
%define release %mkrel 1 |
7 |
|
|
8 |
# Use subrel to have an higher release in update_testing, the time we test rpm 4.9 |
# Use subrel to have an higher release in update_testing, the time we test rpm 4.9 w/o libio |
9 |
%define subrel 3 |
%define subrel 4 |
10 |
|
|
11 |
%define group %(perl -e 'printf "%%s\\n", "%_vendor" =~ /\\bmandr|\\bmageia/i ? "Development/Perl" : "Applications/CPAN"') |
%define group %(perl -e 'printf "%%s\\n", "%_vendor" =~ /\\bmandr|\\bmageia/i ? "Development/Perl" : "Applications/CPAN"') |
12 |
%define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) |
%define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) |
21 |
License: GPL or Artistic |
License: GPL or Artistic |
22 |
Group: %{group} |
Group: %{group} |
23 |
Source: %{real_name}-%{version}.tar.xz |
Source: %{real_name}-%{version}.tar.xz |
24 |
|
Patch0: URPM-3.38.5-switch-from-forking-unpacker-to-using-librpm.diff |
25 |
URL: http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/rpm/perl-URPM/ |
URL: http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/rpm/perl-URPM/ |
26 |
BuildRequires: perl-devel |
BuildRequires: perl-devel |
27 |
BuildRequires: rpm-devel |
BuildRequires: rpm-devel |
45 |
|
|
46 |
%prep |
%prep |
47 |
%setup -q -n %{real_name}-%{version} |
%setup -q -n %{real_name}-%{version} |
48 |
|
%apply_patches |
49 |
|
|
50 |
%build |
%build |
51 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
%{__perl} Makefile.PL INSTALLDIRS=vendor |