xbps-bin: added support to install exact pkg version, i.e 'foo-1.0'.

This commit is contained in:
Juan RP
2012-06-02 17:35:21 +02:00
parent 40864bcdce
commit bd3a8982cc
3 changed files with 48 additions and 22 deletions

View File

@ -56,7 +56,7 @@
*/
#define XBPS_PKGINDEX_VERSION "1.5"
#define XBPS_API_VERSION "20120601-2"
#define XBPS_API_VERSION "20120602"
#define XBPS_VERSION "0.16"
/**
@ -1360,8 +1360,8 @@ int xbps_remove_pkg_files(prop_dictionary_t dict,
* package version in repository pool will be queued, otherwise the first
* repository matching the package pattern wins.
*
* @param pkg Package name or package pattern to match, i.e
* `foo>=0' or 'foo<1'.
* @param pkg Package name, package/version or package pattern to match, i.e
* `foo', `foo-1.0' or `foo>=1.2'.
* @param reinstall If true, package will be queued (if \a str matches)
* even if package is already installed.
*