aboutsummaryrefslogtreecommitdiffstats
path: root/perl-URPM.spec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-09 10:55:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-09 10:55:10 +0000
commit6cac8418f13ba12863ca93360e189e70161d8261 (patch)
treea149f3755f9b73779147341281b88a0870649d57 /perl-URPM.spec
parent13a13f5ab7298492711ee8ff65f79eba6ea13269 (diff)
downloadperl-URPM-6cac8418f13ba12863ca93360e189e70161d8261.tar
perl-URPM-6cac8418f13ba12863ca93360e189e70161d8261.tar.gz
perl-URPM-6cac8418f13ba12863ca93360e189e70161d8261.tar.bz2
perl-URPM-6cac8418f13ba12863ca93360e189e70161d8261.tar.xz
perl-URPM-6cac8418f13ba12863ca93360e189e70161d8261.zip
adapt to perl 5.8.0
Diffstat (limited to 'perl-URPM.spec')
-rw-r--r--perl-URPM.spec17
1 files changed, 10 insertions, 7 deletions
diff --git a/perl-URPM.spec b/perl-URPM.spec
index c5b025c..403125d 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -1,7 +1,7 @@
%define name perl-URPM
%define real_name URPM
%define version 0.08
-%define release 2mdk
+%define release 3mdk
%{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)}
@@ -16,7 +16,7 @@ Distribution: Mandrake Linux
Source: %{real_name}-%{version}.tar.bz2
Prefix: %{_prefix}
BuildRequires: perl-devel rpm-devel >= 4.0.3 bzip2-devel gcc
-Requires: perl >= 5.601 rpm >= %{rpm_version} bzip2 >= 1.0
+Requires: perl, rpm >= %{rpm_version}, bzip2 >= 1.0
BuildRoot: %{_tmppath}/%{name}-buildroot
%description
@@ -27,7 +27,7 @@ hdlist files and manage them in memory.
%setup -q -n %{real_name}-%{version}
%build
-%{__perl} Makefile.PL PREFIX=%{prefix}
+%{__perl} Makefile.PL INSTALLDIRS=vendor PREFIX=%{prefix}
make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix}
make test
@@ -41,13 +41,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
-#%{_libdir}/perl5/man/man3
-%{perl_sitearch}/URPM.pm
-%{perl_sitearch}/URPM
-%{perl_sitearch}/auto/URPM
+#%{_mandir}/man3pm/*
+%{perl_vendorarch}/URPM.pm
+%{perl_vendorarch}/URPM
+%{perl_vendorarch}/auto/URPM
%changelog
+* Tue Jul 9 2002 Pixel <pixel@mandrakesoft.com> 0.08-3mdk
+- rebuild for perl 5.8.0
+
* Mon Jul 8 2002 François Pons <fpons@mandrakesoft.com> 0.08-2mdk
- fixed rflags setting (now keep more than one element).
- fixed setting of ask_unselect correctly.