Accepting request 1088652 from home:aplanas:branches:security

- Cover ALP via the %{suse_version} macro

OBS-URL: https://build.opensuse.org/request/show/1088652
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=73
This commit is contained in:
Alberto Planas 2023-05-23 12:36:28 +00:00 committed by Git OBS Bridge
parent 8e63387014
commit be96b17c89
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 23 12:31:21 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com>
- Cover ALP via the %{suse_version} macro
-------------------------------------------------------------------
Thu Dec 8 15:07:28 UTC 2022 - Alberto Planas Dominguez <aplanas@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package tpm2.0-abrmd
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,8 +18,9 @@
%global selinuxtype targeted
%global modulename tabrmd
# the auto activation is not whitelisted for <= SLE12-SP3
%if 0%{?sle_version} > 120300 || 0%{?is_opensuse}
# the auto activation is not whitelisted for <= SLE12-SP3 (includes
# ALP in the with %{suse_version}
%if 0%{?sle_version} > 120300 || 0%{?is_opensuse} || 0%{suse_version} >= 1600
%define install_dbus_files 1
%endif
# selinux only for Tumbleweed for now