summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2013-12-20 22:34:30 +0100
committerTimothée Ravier2014-01-02 21:54:50 +0100
commit8211ed81ff0c4f600b921720a25e0392827c1716 (patch)
treeee769457ed7ea99d92588f020057bc5fc9b099ba
parent04cdb91170d4b2d75ab6a8cfecd3843bb26e7bd6 (diff)
downloadaur-8211ed81ff0c4f600b921720a25e0392827c1716.tar.gz
Add conflicts and provides declarations
This eases the upgrade from selinux- and selinux-usr- packages to new package names
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 4 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1a39e525680..a7ea5ef9dea0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,8 @@ pkgbase = libsepol
groups = selinux
license = GPL
depends = glibc
+ provides = selinux-usr-libsepol=2.2-1
+ conflicts = selinux-usr-libsepol
options = staticlibs
source = http://userspace.selinuxproject.org/releases/20131030/libsepol-2.2.tar.gz
sha256sums = 77a4b27006295805bdbd7f240038cb32a49be1d60847d413899501702933fc0f
diff --git a/PKGBUILD b/PKGBUILD
index 9f2c61eff44a..5057d3e5ef0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,8 @@ license=('GPL')
groups=('selinux')
depends=('glibc')
options=(staticlibs)
+conflicts=("selinux-usr-${pkgname}")
+provides=("selinux-usr-${pkgname}=${pkgver}-${pkgrel}")
source=("http://userspace.selinuxproject.org/releases/20131030/${pkgname}-${pkgver}.tar.gz")
sha256sums=('77a4b27006295805bdbd7f240038cb32a49be1d60847d413899501702933fc0f')