From b3dc1e1548f1aa7c529580b7bbba064fd0a53f9654e48e5618504447dadfaaa7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 5 May 2024 22:05:32 +0000 Subject: [PATCH] compact scriptlets OBS-URL: https://build.opensuse.org/package/show/science/xxhash?expand=0&rev=25 --- xxhash.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xxhash.spec b/xxhash.spec index 20a112b..c133161 100644 --- a/xxhash.spec +++ b/xxhash.spec @@ -1,7 +1,7 @@ # # spec file for package xxhash # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -79,8 +79,7 @@ export LDFLAGS="%{?build_ldflags}" # the list is taken from test-all with non-working/irrelevant ones (such as ones that change the toolchain) removed %make_build -j1 test test-unicode listL120 trailingWhitespace test-xxh-nnn-sums -%post -n libxxhash0 -p /sbin/ldconfig -%postun -n libxxhash0 -p /sbin/ldconfig +%ldconfig_scriptlets -n libxxhash0 %files %license LICENSE