4 |
%{?!makeinstall_std: %define makeinstall_std() make DESTDIR=%{?buildroot:%{buildroot}} install} |
%{?!makeinstall_std: %define makeinstall_std() make DESTDIR=%{?buildroot:%{buildroot}} install} |
5 |
|
|
6 |
%define name urpmi |
%define name urpmi |
7 |
%define version 6.40 |
%define version 6.40.1 |
8 |
%define release %mkrel 9 |
%define release %mkrel 1 |
9 |
|
|
10 |
%define group System/Configuration/Packaging |
%define group System/Configuration/Packaging |
11 |
|
|
19 |
Group: %{group} |
Group: %{group} |
20 |
License: GPLv2+ |
License: GPLv2+ |
21 |
Source0: %{name}-%{version}.tar.xz |
Source0: %{name}-%{version}.tar.xz |
|
# (tmb) fix mageia api url |
|
|
Patch0: urpmi-6.40-fix-api-url.patch |
|
|
# (tmb) revert rpm5 specific code |
|
|
Patch1: urpmi-6.40-revert-Disttag-Distepoch.patch |
|
|
Patch2: urpmi-1024.diff |
|
22 |
Summary: Command-line software installation tools |
Summary: Command-line software installation tools |
23 |
URL: http://wiki.mandriva.com/en/Tools/urpmi |
URL: http://wiki.mandriva.com/en/Tools/urpmi |
24 |
Requires: %{req_webfetch} eject gnupg |
Requires: %{req_webfetch} eject gnupg |
120 |
|
|
121 |
%prep |
%prep |
122 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
|
# (tmb) fix mageia api url |
|
|
%patch0 -p1 |
|
|
# (tmb) revert rpm5 specific code |
|
|
%patch1 -p1 |
|
|
# (tv) fix (g)urpmi --auto-select --update defaulting to all media when |
|
|
# there're no update media (#1024): |
|
|
%patch2 -p0 |
|
123 |
|
|
124 |
%build |
%build |
125 |
%{__perl} Makefile.PL INSTALLDIRS=vendor \ |
%{__perl} Makefile.PL INSTALLDIRS=vendor \ |