Torsten Keßler pushed to branch main at Arch Linux / Packaging / Packages / 
hip-runtime


Commits:
d1873c22 by Torsten Keßler at 2024-11-01T17:55:31+01:00
upgpkg: 6.2.2-2

Add provides for old package name

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = hip-runtime
        pkgver = 6.2.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://rocm.docs.amd.com/projects/HIP/en/latest/
        arch = x86_64
        license = MIT
@@ -47,6 +47,8 @@ pkgname = hip-runtime-amd
        depends = rocprofiler-register
        optdepends = inetutils: Print hostname in hipconfig
        optdepends = cuda: Cross compile for nvidia
+       provides = hip=6.2.2
+       replaces = hip
 
 pkgname = hip-runtime-nvidia
        pkgdesc = Heterogeneous Interface for Portability (Nvidia runtime)


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgbase=hip-runtime
 pkgname=(hip-runtime-amd hip-runtime-nvidia)
 pkgver=6.2.2
-pkgrel=1
+pkgrel=2
 _pkgdesc="Heterogeneous Interface for Portability"
 arch=('x86_64')
 url='https://rocm.docs.amd.com/projects/HIP/en/latest/'
@@ -104,6 +104,8 @@ package_hip-runtime-amd() {
   depends=("${_amd_depends[@]}")
   optdepends=('inetutils: Print hostname in hipconfig'
               'cuda: Cross compile for nvidia')
+  replaces=("hip")
+  provides=("hip=${pkgver}")
   DESTDIR="$pkgdir" cmake --install build-amd
   install -Dm644 "$srcdir/$_dirhip/LICENSE.txt" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hip-runtime/-/commit/d1873c225424e71147a087f9c523925a18eba294

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hip-runtime/-/commit/d1873c225424e71147a087f9c523925a18eba294
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to