summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2024-02-23 09:40:05 +0100
committerNicolas Iooss2024-02-23 21:40:49 +0100
commitc1de2d3ea6af85c437790d341ac2ec983522c941 (patch)
tree855ead22542337b896bb97b8e7ff950e56f4d909
parent152a3a035c5098c8be5cd15d179269d27de86ebe (diff)
downloadaur-libsepol.tar.gz
Use 'provides+=...' in function package
This prevents package() from overwriting the global provides.
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8d14296f30f1..68b0e838241d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -23,4 +23,5 @@ pkgbase = libsepol
sha256sums = SKIP
pkgname = libsepol
+ provides = selinux-usr-libsepol=3.6-2
provides = libsepol.so
diff --git a/PKGBUILD b/PKGBUILD
index 6ac734f932fe..04ee0b8ebfb6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,7 +36,7 @@ build() {
}
package() {
- provides=(
+ provides+=(
libsepol.so
)