aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-24 15:51:27 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-24 15:51:27 +0000
commitdda88bb6d1e792766d518edd4c23df6936e92a01 (patch)
tree7a06b58a479f2d768bd4248d92bd99779723d1b1
parent862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f (diff)
downloadperl-URPM-dda88bb6d1e792766d518edd4c23df6936e92a01.tar
perl-URPM-dda88bb6d1e792766d518edd4c23df6936e92a01.tar.gz
perl-URPM-dda88bb6d1e792766d518edd4c23df6936e92a01.tar.bz2
perl-URPM-dda88bb6d1e792766d518edd4c23df6936e92a01.tar.xz
perl-URPM-dda88bb6d1e792766d518edd4c23df6936e92a01.zip
0.82-4mdk
-rw-r--r--URPM.xs18
-rw-r--r--perl-URPM.spec7
2 files changed, 24 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index f9fef55..53978fd 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1381,6 +1381,24 @@ Pkg_provides_nosense(pkg)
SP = xreturn_list_str(SP, pkg->provides, pkg->h, RPMTAG_PROVIDENAME, 0, 0);
void
+Pkg_buildarchs(pkg)
+ URPM::Package pkg
+ PPCODE:
+ SP = xreturn_list_str(SP, NULL, pkg->h, RPMTAG_BUILDARCHS, 0, 0);
+
+void
+Pkg_excludearchs(pkg)
+ URPM::Package pkg
+ PPCODE:
+ SP = xreturn_list_str(SP, NULL, pkg->h, RPMTAG_EXCLUDEARCH, 0, 0);
+
+void
+Pkg_exclusivearchs(pkg)
+ URPM::Package pkg
+ PPCODE:
+ SP = xreturn_list_str(SP, NULL, pkg->h, RPMTAG_EXCLUSIVEARCH, 0, 0);
+
+void
Pkg_files(pkg)
URPM::Package pkg
PPCODE:
diff --git a/perl-URPM.spec b/perl-URPM.spec
index b150dcd..86c30af 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -1,7 +1,7 @@
%define name perl-URPM
%define real_name URPM
%define version 0.82
-%define release 3mdk
+%define release 4mdk
%{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)}
@@ -49,6 +49,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Apr 24 2003 François Pons <fpons@mandrakesoft.com> 0.82-4mdk
+- intergrated another patch from Olivier Thauvin to add method
+ for manipulating source rpm to URPM::Package (buildarchs,
+ excludearchs, exclusivearchs).
+
* Tue Apr 22 2003 François Pons <fpons@mandrakesoft.com> 0.82-3mdk
- integrated patch from Olivier Thauvin to add misc method to
URPM::Package (packager, buildhost, url).