diff options
author | Nicolas Iooss | 2024-02-21 13:23:35 +0100 |
---|---|---|
committer | Nicolas Iooss | 2024-02-21 13:23:35 +0100 |
commit | ba9e9a3949d80140b74ad4505d8ad8be3dd86da2 (patch) | |
tree | dc63528278d468ce32fc999cdc7a0fd69ad00633 | |
parent | 05b4c2a226386701e461ef9b88e1dfbf32b72250 (diff) | |
download | aur-ba9e9a3949d80140b74ad4505d8ad8be3dd86da2.tar.gz |
Add 'provides' with the shared library
This helps making package depends on a precise major version of a shared
library.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = libsemanage pkgdesc = SELinux binary policy manipulation library pkgver = 3.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/SELinuxProject/selinux install = libsemanage.install arch = i686 @@ -18,7 +18,7 @@ pkgbase = libsemanage depends = audit optdepends = python: python bindings optdepends = ruby: ruby bindings - provides = selinux-usr-libsemanage=3.6-1 + provides = selinux-usr-libsemanage=3.6-2 conflicts = selinux-usr-libsemanage options = !emptydirs source = https://github.com/SELinuxProject/selinux/releases/download/3.6/libsemanage-3.6.tar.gz @@ -31,3 +31,4 @@ pkgbase = libsemanage sha256sums = 5b0e6929428e095b561701ccdfa9c8b0c3d70dad3fc46e667eb46a85b246a4a0 pkgname = libsemanage + provides = libsemanage.so @@ -8,7 +8,7 @@ pkgname=libsemanage pkgver=3.6 -pkgrel=1 +pkgrel=2 pkgdesc="SELinux binary policy manipulation library" arch=('i686' 'x86_64' 'aarch64') url='https://github.com/SELinuxProject/selinux' @@ -43,6 +43,10 @@ build() { } package() { + provides=( + libsemanage.so + ) + cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" LIBEXECDIR=/usr/lib SHLIBDIR=/usr/lib install make DESTDIR="${pkgdir}" PYTHON=/usr/bin/python3 LIBEXECDIR=/usr/lib SHLIBDIR=/usr/lib install-pywrap |