Sync from SUSE:SLFO:Main patterns-rpm-macros revision 422219630b93430eb813aa8f310b2295

This commit is contained in:
Adrian Schröter 2024-12-20 16:08:47 +01:00
parent c9ed9d2940
commit 62586710ad
3 changed files with 22 additions and 1 deletions

View File

@ -69,3 +69,16 @@ Provides: pattern-category() = Server%20Functions
%pattern_xfcedesktop \
Provides: pattern-category() = XFCE%20Desktop
%requires_on_transactional_recommends_otherwise() \
Requires: ( %1 if (product(MicroOS) or product(SL-Micro))) \
Recommends: ( %1 if (product(openSUSE) or product(SLES) or product(SLES-SAP)))
%requires_on_traditional() \
Requires: ( %1 if (product(openSUSE) or product(SLES) or product(SLES-SAP)))
%recommends_on_traditional() \
Recommends: ( %1 if (product(openSUSE) or product(SLES) or product(SLES-SAP)))
%requires_on_transactional() \
Requires: ( %1 if (product(MicroOS) or product(SL-Micro)))

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Dec 19 10:04:32 UTC 2024 - Frederic Crozat <fcrozat@suse.com>
- Add requires_on_transactional_recommends_otherwise,
requires_on_traditional, requires_on_transactional and
recommends_on_traditional macros, allowing to merge patterns from
various products.
-------------------------------------------------------------------
Fri Aug 27 12:55:30 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package patterns-rpm-macros
#
# Copyright (c) 2021 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