diff options
author | Allan McRae <allan@archlinux.org> | 2011-07-09 21:52:01 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-20 16:54:19 -0600 |
commit | 5bbe34293258c20afa636ca8f6546640af28678a (patch) | |
tree | 9c519d617e99c4253d447979b6b263f81f56e344 /lib/libalpm/version.c | |
parent | f8892b9d087f5c60de663d107643085deaba727b (diff) | |
download | pacman-5bbe34293258c20afa636ca8f6546640af28678a.tar.xz |
makepkg: rework libprovides
This reworks the implmentation of libprovides for the following
benefits:
- Moves functionality from write_pkginfo() to find_libprovides()
- Only calculates the version for libraries specifically requested
and not all libraries. This has the disadvantage of running find
over the $pkgdir for as many libraries as needed, but is unlikely
to be an issue due to caching.
- The order of the provides array in the PKGBUILD is kept in the
package
- There are more warning messages when things fail and those that
were there are no longer errors (as I do not think failure of
libprovides should result in complete packaging failure)
- It is now modular so can be easy extended to other library types
other than ELF *.so.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/version.c')
0 files changed, 0 insertions, 0 deletions