aboutsummaryrefslogtreecommitdiffstats
path: root/perl-URPM.spec
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-06-06 09:57:52 +0000
committerFrancois Pons <fpons@mandriva.com>2002-06-06 09:57:52 +0000
commit507d79f646464f20a758ca8a41a3638c8ac4fc83 (patch)
tree1cbe2579e78736e64fee257cdabb3990b0889f1d /perl-URPM.spec
parent977a0031a904f6690d377d184a5461f639d49201 (diff)
downloadperl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar
perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar.gz
perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar.bz2
perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar.xz
perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.zip
0.03-1mdk
Diffstat (limited to 'perl-URPM.spec')
-rw-r--r--perl-URPM.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/perl-URPM.spec b/perl-URPM.spec
index 96176e6..00bc8e5 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -1,8 +1,9 @@
%define name perl-URPM
%define real_name URPM
-%define release 3mdk
+%define version 0.03
+%define release 1mdk
-%{expand:%%define version %(perl -ne '/VERSION\s+=[^0-9\.]*([0-9\.]+)/ and print "$1\n"' URPM.pm)}
+%{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)}
Packager: François Pons <fpons@mandrakesoft.com>
Summary: URPM module for perl
@@ -14,9 +15,9 @@ Group: Development/Perl
Distribution: Mandrake Linux
Source: %{real_name}-%{version}.tar.bz2
Prefix: %{_prefix}
-BuildRequires: perl-devel
+BuildRequires: perl-devel rpm-devel >= 4.0.3 bzip2-devel gcc
+Requires: perl >= 5.601 rpm >= %{rpm_version} bzip2 >= 1.0
BuildRoot: %{_tmppath}/%{name}-buildroot
-Requires: perl >= 5.601
%description
The URPM module allows you to manipulate rpm files, rpm header files and
@@ -47,6 +48,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Jun 6 2002 François Pons <fpons@mandrakesoft.com> 0.03-1mdk
+- added more flag method to URPM::Package
+- avoid garbage output when reading hdlist archive.
+- moved id internal reference to bit field of flag.
+
* Wed Jun 5 2002 François Pons <fpons@mandrakesoft.com> 0.02-3mdk
- removed log on opening/closing rpmdb.
- modified reading of archive to avoid incomplete read.