From: Michael Schroeder Date: Fri, 6 May 2016 10:10:17 +0000 (+0200) Subject: Note that pool_setarch must not come before pool_setdisttype. X-Git-Tag: 0.6.21~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21d9f3fbafc1efbaf1d9a17eb7ed1fe1b2d0771d;p=thirdparty%2Flibsolv.git Note that pool_setarch must not come before pool_setdisttype. --- diff --git a/doc/libsolv-pool.3 b/doc/libsolv-pool.3 index 0929ba63..adc13e3c 100644 --- a/doc/libsolv-pool.3 +++ b/doc/libsolv-pool.3 @@ -1,13 +1,13 @@ '\" t .\" Title: Libsolv-Pool .\" Author: [see the "Author" section] -.\" Generator: DocBook XSL Stylesheets v1.78.0 -.\" Date: 12/14/2015 +.\" Generator: DocBook XSL Stylesheets v1.78.1 +.\" Date: 05/06/2016 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-POOL" "3" "12/14/2015" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-POOL" "3" "05/06/2016" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -369,7 +369,7 @@ Make the addfileprovides method only add files from the standard locations (i\&. .RE .\} .sp -Set the package type of your system\&. The disttype is used for example to define package comparison semantics\&. Libsolv\(cqs default disttype should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging problems for different systems\&. The Function returns the old disttype on success, and \-1 if the new disttype is not supported\&. +Set the package type of your system\&. The disttype is used for example to define package comparison semantics\&. Libsolv\(cqs default disttype should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging problems for different systems\&. The Function returns the old disttype on success, and \-1 if the new disttype is not supported\&. Note that any pool_setarch and pool_setarchpolicy calls need to come after the pool_setdisttype call, as they make use of the noarch/any/all architecture id\&. .sp .if n \{\ .RS 4 diff --git a/doc/libsolv-pool.txt b/doc/libsolv-pool.txt index 8ee0c181..69291a4a 100644 --- a/doc/libsolv-pool.txt +++ b/doc/libsolv-pool.txt @@ -270,6 +270,9 @@ should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging problems for different systems. The Function returns the old disttype on success, and -1 if the new disttype is not supported. +Note that any pool_setarch and pool_setarchpolicy calls need to +come after the pool_setdisttype call, as they make use of the +noarch/any/all architecture id. int pool_set_flag(Pool *pool, int flag, int value);