summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichishige Kaito2014-12-16 16:39:28 +0000
committerMichishige Kaito2014-12-16 16:39:28 +0000
commit382e1d423061a950a81c6441c52ea0993cfe370b (patch)
tree7f7c51c81870924315e3daad3b55995916956e56
parent6453745e395709cba54b76390bf54e0383710a27 (diff)
downloadaur-382e1d423061a950a81c6441c52ea0993cfe370b.tar.gz
mopidy-git: Add package version to `provides` field.
If a dependency specifies a specific mopidy version, and our provides field doesn't specify one, the dependency check will fail. Thus, add the current version to the provides field, which solves this.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da176729802d..d27fabb54e16 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -18,7 +18,7 @@ pkgbase = mopidy-git
optdepends = mopidy-spotify: Spotify backend
optdepends = mopidy-scrobbler: Last.FM scrobbler
optdepends = mopidy-MPRIS: MPRIS frontend
- provides = mopidy
+ provides = mopidy=$pkgver-$pkgrel
conflicts = mopidy
source = git+https://github.com/mopidy/mopidy.git
source = mopidy@.service
diff --git a/PKGBUILD b/PKGBUILD
index 06ce359bd57b..1e7793eb35ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ optdepends=('gstreamer0.10-ffmpeg: AAC+ and WMA support.'
'mopidy-scrobbler: Last.FM scrobbler'
'mopidy-MPRIS: MPRIS frontend')
conflicts=('mopidy')
-provides=('mopidy')
+provides=('mopidy=$pkgver-$pkgrel')
source=('git+https://github.com/mopidy/mopidy.git'
'mopidy@.service')
md5sums=('SKIP'