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 w/o libio |
# Use subrel to have an higher release in update_testing, the time we test rpm 4.9 w/o libio |
9 |
%define subrel 1 |
#define subrel 1 |
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) |
45 |
|
|
46 |
%prep |
%prep |
47 |
%setup -q -n %{real_name}-%{version} |
%setup -q -n %{real_name}-%{version} |
48 |
%apply_patches |
#apply_patches |
49 |
|
|
50 |
%build |
%build |
51 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
%{__perl} Makefile.PL INSTALLDIRS=vendor |