3 |
%define name perl-URPM |
%define name perl-URPM |
4 |
%define real_name URPM |
%define real_name URPM |
5 |
%define version 3.40.3 |
%define version 3.40.3 |
6 |
|
%define subrel 1 |
7 |
%define release %mkrel 1 |
%define release %mkrel 1 |
8 |
|
|
9 |
%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"') |
19 |
License: GPL or Artistic |
License: GPL or Artistic |
20 |
Group: %{group} |
Group: %{group} |
21 |
Source: %{real_name}-%{version}.tar.xz |
Source: %{real_name}-%{version}.tar.xz |
22 |
|
Patch0: URPM.xs-buffer-128k.patch |
23 |
URL: http://svnweb.mageia.org/soft/rpm/perl-URPM/ |
URL: http://svnweb.mageia.org/soft/rpm/perl-URPM/ |
24 |
BuildRequires: perl-devel |
BuildRequires: perl-devel |
25 |
BuildRequires: rpm-devel |
BuildRequires: rpm-devel |
43 |
|
|
44 |
%prep |
%prep |
45 |
%setup -q -n %{real_name}-%{version} |
%setup -q -n %{real_name}-%{version} |
46 |
%apply_patches |
%patch0 -p1 |
47 |
|
|
48 |
%build |
%build |
49 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
%{__perl} Makefile.PL INSTALLDIRS=vendor |