]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Note that pool_setarch must not come before pool_setdisttype.
authorMichael Schroeder <mls@suse.de>
Fri, 6 May 2016 10:10:17 +0000 (12:10 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 6 May 2016 10:10:17 +0000 (12:10 +0200)
doc/libsolv-pool.3
doc/libsolv-pool.txt

index 0929ba632977a3c91d32d456e77dd700966a6a63..adc13e3c75e4c8983f0fa896b26d2f18883650ef 100644 (file)
@@ -1,13 +1,13 @@
 '\" t
 .\"     Title: Libsolv-Pool
 .\"    Author: [see the "Author" section]
-.\" Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/>
-.\"      Date: 12/14/2015
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
+.\"      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
index 8ee0c181c7fcfcca18b06b10a7c685d4f9bd01e4..69291a4a5212bae95769557cb863368bde772067 100644 (file)
@@ -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);