Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
libzypp


Commits:
75bee630 by Christian Heusel at 2025-02-22T19:01:14+01:00
upgpkg: 17.36.2-1: New upstream release

Related to 
https://gitlab.archlinux.org/archlinux/packaging/packages/libzypp/-/issues/1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,12 +1,10 @@
 pkgbase = libzypp
        pkgdesc = ZYpp Package Management library
-       pkgver = 17.36.1
+       pkgver = 17.36.2
        pkgrel = 1
        url = https://github.com/openSUSE/libzypp
        arch = x86_64
        license = GPL-2.0-or-later
-       checkdepends = nginx
-       checkdepends = vsftpd
        makedepends = asciidoctor
        makedepends = boost
        makedepends = cmake
@@ -30,7 +28,7 @@ pkgbase = libzypp
        depends = systemd-libs
        depends = yaml-cpp
        depends = zlib
-       source = git+https://github.com/openSUSE/libzypp.git#tag=17.36.1
-       sha256sums = 
1c2f75214203ecb8dd4c0e741f09d31cb9afb312ae818c1fb181c4cb5c83ec95
+       source = git+https://github.com/openSUSE/libzypp.git#tag=17.36.2
+       sha256sums = 
e129f01404753d857b24aac22f61348882c4c9eea025a009131a92d2dc8959b3
 
 pkgname = libzypp


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: Christian Heusel <gro...@archlinux.org>
 
 pkgname=libzypp
-pkgver=17.36.1
+pkgver=17.36.2
 pkgrel=1
 pkgdesc="ZYpp Package Management library"
 arch=(x86_64)
@@ -34,13 +34,14 @@ makedepends=(
     nginx
     vsftpd
 )
-checkdepends=(
-    nginx
-    vsftpd
-)
+# just needed for the mediabackend tests which don't seem to work in nspawn
+# checkdepends=(
+#     nginx
+#     vsftpd
+# )
 optdepends=()
 source=("git+https://github.com/openSUSE/libzypp.git#tag=${pkgver}";)
-sha256sums=('1c2f75214203ecb8dd4c0e741f09d31cb9afb312ae818c1fb181c4cb5c83ec95')
+sha256sums=('e129f01404753d857b24aac22f61348882c4c9eea025a009131a92d2dc8959b3')
 
 build() {
     local cmake_options=(
@@ -60,19 +61,20 @@ build() {
     cmake --build build
 }
 
-# check() {
-#     local excluded_tests=""
-#     local ctest_flags=(
-#         --test-dir build
-#         # show the stdout and stderr when the test fails
-#         --output-on-failure
-#         # execute tests in parallel
-#         --parallel $(nproc)
-#         # exclude problematic tests
-#         --exclude-regex "$excluded_tests"
-#     )
-#     ctest "${ctest_flags[@]}"
-# }
+check() {
+    # https://github.com/openSUSE/libzypp/issues/622
+    local excluded_tests="RpmPkgSigCheck_test"
+    local ctest_flags=(
+        --test-dir build
+        # show the stdout and stderr when the test fails
+        --output-on-failure
+        # execute tests in parallel
+        --parallel $(nproc)
+        # exclude problematic tests
+        --exclude-regex "${excluded_tests[@]}"
+    )
+    ctest "${ctest_flags[@]}"
+}
 
 package() {
     DESTDIR="$pkgdir" cmake --install build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libzypp/-/commit/75bee630c0f3c0f38699db7d5c802401a81e04fa

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


Reply via email to