search for: rpm_version

Displaying 7 results from an estimated 7 matches for "rpm_version".

2004 Sep 05
1
RH7.3 compatibility with SRPMS
...is any conflicts with this..thanks in advance. # Don't depend on Net::LDAP # one filter for RH 8 and one for 9 Source998: filter-requires-samba_rh8.sh Source999: filter-requires-samba_rh9.sh # Working around perl dependency problem from docs # Only > RH 8.0 seems to care here echo "rpm_version == %{rpm_version}" if [ "%{rpm_version}" == "42" ]; then %define __perl_requires %{SOURCE999} echo "%{__perl_requires}" elif [ "%{rpm_version}" == "41" ]; then %define __find_requires %{SOURCE998} echo "%{__find_requires}"...
2014 Nov 24
5
[PATCH] rpm: use librpm's rpmvercmp
...rc/librpm-c.c | 12 ++++++++++++ src/librpm.ml | 1 + src/librpm.mli | 1 + src/rpm.ml | 2 +- 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/librpm-c.c b/src/librpm-c.c index 1ae3bad..fc847d6 100644 --- a/src/librpm-c.c +++ b/src/librpm-c.c @@ -122,6 +122,12 @@ supermin_rpm_version (value unit) } value +supermin_rpm_vercmp (value av, value bv) +{ + return Val_int (rpmvercmp (String_val (av), String_val (bv))); +} + +value supermin_rpm_open (value debugv) { CAMLparam1 (debugv); @@ -445,6 +451,12 @@ supermin_rpm_version (value unit) } value +supermin_rpm_vercmp (v...
2019 Apr 12
6
[supermin PATCH 0/5] rpm: fix package selection w/ multilib
This patch series fixes the way supermin sorts the list of installed packages when resolving a name, picking the right package for the host architecture. Pino Toscano (5): rpm: do not unpack parameters rpm: fix version comparison rpm: query the RPM architecture rpm: fix package sorting (RHBZ#1696822) utils: remove unused 'compare_architecture' function src/librpm-c.c | 10
2015 Oct 13
6
[PATCH 0/4] rpm: Choose providers better (RHBZ#1266918).
Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1266918
2014 Sep 17
4
[PATCH 0/2] supermin: use librpm for rpm support
Hi, this work makes supermin use the rpm library instead of invoking rpm directly. This, together with a needed refactoring of the dependency resolution, should help in make supermin faster on rpm-based systems. Surely the patches will still need polishing, especially for behaviours of newly added stuff, but at least it's a good starting point. Noting that you need rpm-devel on most of rpm
2016 Feb 18
0
[PATCH 3/3] Add and use an helper error function
...ne let get_rpm () = match !t with - | None -> - eprintf "supermin: rpm: get_rpm called too early"; - exit 1 + | None -> error "rpm: get_rpm called too early" | Some t -> t let rec rpm_init s = @@ -75,17 +73,12 @@ let rec rpm_init s = let version = rpm_version () in let major, minor = match string_split "." version with - | [] -> - eprintf "supermin: unable to parse empty rpm version string\n"; - exit 1 - | [x] -> - eprintf "supermin: unable to parse rpm version string: %s\n" x; - exit...
2016 Feb 18
4
[PATCH 0/3] supermin: miscellaneous cleanups
Hi, few cleanups in the supermin codebase; no actual functional change. Thanks, -- Pino Toscano (3): ext2: simplify tracking of visited modules utils: remove unused run_python function Add and use an helper error function src/build.ml | 20 +++++----------- src/dpkg.ml | 4 +--- src/ext2_initrd.ml | 10 ++++---- src/kernel.ml | 27