PKGBUILD: ensure provides() contains pkg ver-rel
It appears that pacman is conservative in making assumptions about whether a package's provides() can satisfy version requirements. Rather than assuming no version = '*', it assumes no version = '!*', which makes sense I guess, but is different fom my expectations. This caused the previous version on this package to be unable to satisfy its own versioning requirements.
This commit is contained in:
6
PKGBUILD
6
PKGBUILD
@@ -23,7 +23,7 @@ noextract=("${source[@]%%::*}")
|
|||||||
package_ceph-libs-bin() {
|
package_ceph-libs-bin() {
|
||||||
depends=('boost-libs' 'curl' 'glibc' 'keyutils' 'libutil-linux' 'bzip2' 'lz4' 'nss'
|
depends=('boost-libs' 'curl' 'glibc' 'keyutils' 'libutil-linux' 'bzip2' 'lz4' 'nss'
|
||||||
'oath-toolkit' 'python' 'snappy' 'systemd-libs' 'fmt')
|
'oath-toolkit' 'python' 'snappy' 'systemd-libs' 'fmt')
|
||||||
provides=('ceph-libs')
|
provides=("ceph-libs=${pkgver}-${pkgrel}")
|
||||||
|
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ package_ceph-bin() {
|
|||||||
'python-prettytable' 'python-cmd2' 'python-dateutil' 'snappy' 'sudo' 'systemd-libs'
|
'python-prettytable' 'python-cmd2' 'python-dateutil' 'snappy' 'sudo' 'systemd-libs'
|
||||||
'python-flask' 'python-pecan' 'python-pyopenssl' 'python-requests' 'python-werkzeug' 'xfsprogs'
|
'python-flask' 'python-pecan' 'python-pyopenssl' 'python-requests' 'python-werkzeug' 'xfsprogs'
|
||||||
'python-yaml' 'python-pyaml')
|
'python-yaml' 'python-pyaml')
|
||||||
provides=('ceph')
|
provides=("ceph=${pkgver}-${pkgrel}")
|
||||||
|
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ package_ceph-mgr-bin() {
|
|||||||
'python-kubernetes: rook module'
|
'python-kubernetes: rook module'
|
||||||
'python-prometheus_client: prometheus module'
|
'python-prometheus_client: prometheus module'
|
||||||
'python-remoto: ssh module')
|
'python-remoto: ssh module')
|
||||||
provides=('ceph-mgr')
|
provides=("ceph-mgr=${pkgver}-${pkgrel}")
|
||||||
conflicts=('ceph<14.2.1-1')
|
conflicts=('ceph<14.2.1-1')
|
||||||
|
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
|
|||||||
Reference in New Issue
Block a user