summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2013-12-20 22:34:30 +0100
committerTimothée Ravier2014-01-02 21:54:50 +0100
commit8dceab7c84c98b9fd80b0c9445b2f27fc4a6c40a (patch)
treef0e4e01de5e57f6b733cf2d7960508cb8979c061
parent504cd9c297079ab4e4319d2204d736bf27f3abee (diff)
downloadaur-8dceab7c84c98b9fd80b0c9445b2f27fc4a6c40a.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 ffd9eb4d5ba..f429722e9dc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,8 @@ pkgbase = checkpolicy
license = GPL
depends = libsepol>=2.2
depends = libselinux>=2.2
+ provides = selinux-usr-checkpolicy=2.2-1
+ conflicts = selinux-usr-checkpolicy
options = !emptydirs
source = http://userspace.selinuxproject.org/releases/20131030/checkpolicy-2.2.tar.gz
sha256sums = 9ff6698f4d4cb59c9c916e348187d533ada4107f90c253ef7304905934e9adf8
diff --git a/PKGBUILD b/PKGBUILD
index 877811d6168..ef8bddc39fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,8 @@ license=('GPL')
groups=('selinux')
depends=('libsepol>=2.2' 'libselinux>=2.2')
#makedepends=('selinux-flex')
+conflicts=("selinux-usr-${pkgname}")
+provides=("selinux-usr-${pkgname}=${pkgver}-${pkgrel}")
options=(!emptydirs)
source=("http://userspace.selinuxproject.org/releases/20131030/${pkgname}-${pkgver}.tar.gz")
sha256sums=('9ff6698f4d4cb59c9c916e348187d533ada4107f90c253ef7304905934e9adf8')