summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2013-12-20 22:34:30 +0100
committerTimothée Ravier2014-01-02 21:54:50 +0100
commit85960094fb2834312bfa2c30ce1803c9195d518a (patch)
tree3c507f9f3713bbda81e520a3400ff5d0e20c8a8c
parentedda895cf9089b67d470e09aa4787ff7c66f9eff (diff)
downloadaur-85960094fb2834312bfa2c30ce1803c9195d518a.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 65706012076..12ae7d1b327 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,8 @@ pkgbase = libselinux
depends = python
depends = swig
depends = ruby
+ provides = selinux-usr-libselinux=2.2-1
+ conflicts = selinux-usr-libselinux
options = !emptydirs
source = http://userspace.selinuxproject.org/releases/20131030/libselinux-2.2.tar.gz
sha256sums = e9dc64216543a7283d786f623ac28e8867f8794138e7deba474a3aa8d02dce33
diff --git a/PKGBUILD b/PKGBUILD
index 9955c474b1a..e87dcbc57bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,8 @@ url='http://userspace.selinuxproject.org'
license=('GPL')
groups=('selinux')
depends=('libsepol>=2.2' 'python2' 'python' 'swig' 'ruby')
+conflicts=("selinux-usr-${pkgname}")
+provides=("selinux-usr-${pkgname}=${pkgver}-${pkgrel}")
options=(!emptydirs)
source=("http://userspace.selinuxproject.org/releases/20131030/${pkgname}-${pkgver}.tar.gz")
sha256sums=('e9dc64216543a7283d786f623ac28e8867f8794138e7deba474a3aa8d02dce33')