Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
systemd


Commits:
124b1da7 by Christian Hesse at 2024-04-22T10:34:50+02:00
add versioned depends on split packages

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -100,6 +100,7 @@ pkgname = systemd
        license = CC0-1.0
        license = GPL-2.0-or-later
        license = MIT-0
+       depends = systemd-libs=255.4
        depends = acl
        depends = libacl.so
        depends = bash
@@ -116,7 +117,6 @@ pkgname = systemd
        depends = libgcrypt
        depends = libxcrypt
        depends = libcrypt.so
-       depends = systemd-libs
        depends = libidn2
        depends = lz4
        depends = pam
@@ -194,22 +194,22 @@ pkgname = systemd-libs
 
 pkgname = systemd-resolvconf
        pkgdesc = systemd resolvconf replacement (for use with systemd-resolved)
-       depends = systemd
+       depends = systemd=255.4
        provides = openresolv
        provides = resolvconf
        conflicts = resolvconf
 
 pkgname = systemd-sysvcompat
        pkgdesc = sysvinit compat for systemd
-       depends = systemd
+       depends = systemd=255.4
        conflicts = sysvinit
 
 pkgname = systemd-ukify
        pkgdesc = Combine kernel and initrd into a signed Unified Kernel Image
+       depends = systemd=255.4
        depends = binutils
        depends = python-cryptography
        depends = python-pefile
-       depends = systemd
        optdepends = python-pillow: Show the size of splash image
        optdepends = sbsigntools: Sign the embedded kernel
        provides = ukify


=====================================
PKGBUILD
=====================================
@@ -193,9 +193,10 @@ package_systemd() {
     'GPL-2.0-or-later' # udev
     'MIT-0' # documentation and config files
   )
-  depends=('acl' 'libacl.so' 'bash' 'cryptsetup' 'libcryptsetup.so' 'dbus'
+  depends=("systemd-libs=${pkgver}"
+           'acl' 'libacl.so' 'bash' 'cryptsetup' 'libcryptsetup.so' 'dbus'
            'dbus-units' 'kbd' 'kmod' 'libkmod.so' 'hwdata' 'libcap' 'libcap.so'
-           'libgcrypt' 'libxcrypt' 'libcrypt.so' 'systemd-libs' 'libidn2' 
'lz4' 'pam'
+           'libgcrypt' 'libxcrypt' 'libcrypt.so' 'libidn2' 'lz4' 'pam'
            'libelf' 'libseccomp' 'libseccomp.so' 'util-linux' 'libblkid.so'
            'libmount.so' 'xz' 'pcre2' 'audit' 'libaudit.so'
            'openssl' 'libcrypto.so' 'libssl.so')
@@ -315,7 +316,7 @@ package_systemd-libs() {
 
 package_systemd-resolvconf() {
   pkgdesc='systemd resolvconf replacement (for use with systemd-resolved)'
-  depends=('systemd')
+  depends=("systemd=${pkgver}")
   provides=('openresolv' 'resolvconf')
   conflicts=('resolvconf')
 
@@ -329,7 +330,7 @@ package_systemd-resolvconf() {
 package_systemd-sysvcompat() {
   pkgdesc='sysvinit compat for systemd'
   conflicts=('sysvinit')
-  depends=('systemd')
+  depends=("systemd=${pkgver}")
 
   install -D -m0644 -t "$pkgdir"/usr/share/man/man8 \
     build/man/{halt,poweroff,reboot,shutdown}.8
@@ -343,7 +344,7 @@ package_systemd-sysvcompat() {
 
 package_systemd-tests() {
   pkgdesc='systemd tests'
-  depends=('systemd')
+  depends=("systemd=${pkgver}")
 
   install -d -m0755 "$pkgdir"/usr/lib/systemd
   mv systemd-tests/tests "$pkgdir"/usr/lib/systemd/tests
@@ -352,7 +353,7 @@ package_systemd-tests() {
 package_systemd-ukify() {
   pkgdesc='Combine kernel and initrd into a signed Unified Kernel Image'
   provides=('ukify')
-  depends=('binutils' 'python-cryptography' 'python-pefile' 'systemd')
+  depends=("systemd=${pkgver}" 'binutils' 'python-cryptography' 
'python-pefile')
   optdepends=('python-pillow: Show the size of splash image'
               'sbsigntools: Sign the embedded kernel')
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/commit/124b1da79088d0f0ab33dc2d840d4733074dbf64

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/commit/124b1da79088d0f0ab33dc2d840d4733074dbf64
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to