From 48b09937bc88d07ac82fae0e91b5d7b55e3462d8bea346bcc0bd380fee73133d Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 4 May 2020 13:20:23 +0000 Subject: [PATCH] Accepting request 799998 from home:alarrosa:branches:X11:XOrg - Differentiate also Requires, BuildRequires, Obsoletes and more statements between the two flavors. OBS-URL: https://build.opensuse.org/request/show/799998 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-fonts?expand=0&rev=101 --- xorg-x11-fonts.changes | 6 ++++++ xorg-x11-fonts.spec | 36 +++++++++++++++++++----------------- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/xorg-x11-fonts.changes b/xorg-x11-fonts.changes index c3e73d2..0fc7b6a 100644 --- a/xorg-x11-fonts.changes +++ b/xorg-x11-fonts.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 4 08:29:42 UTC 2020 - Antonio Larrosa + +- Differentiate also Requires, BuildRequires, Obsoletes and more + statements between the two flavors. + ------------------------------------------------------------------- Thu Apr 30 12:34:54 UTC 2020 - Antonio Larrosa diff --git a/xorg-x11-fonts.spec b/xorg-x11-fonts.spec index 3daa08b..dcd1908 100644 --- a/xorg-x11-fonts.spec +++ b/xorg-x11-fonts.spec @@ -24,29 +24,12 @@ %endif Name: xorg-x11-fonts%{pkgflavor} -BuildRequires: bdftopcf -BuildRequires: fontpackages-devel -BuildRequires: mkfontscale -# ucs2any -BuildRequires: font-util BuildRequires: pkgconfig URL: http://xorg.freedesktop.org/ Version: 7.6 Release: 0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: fonts-config -Requires: %{name}-core -Provides: xorg-x11-fonts-100dpi -Provides: xorg-x11-fonts-75dpi -Provides: xorg-x11-fonts-cyrillic -Provides: xorg-x11-fonts-scalable -Provides: xorg-x11-fonts-syriac -Obsoletes: xorg-x11-fonts-100dpi -Obsoletes: xorg-x11-fonts-75dpi -Obsoletes: xorg-x11-fonts-cyrillic -Obsoletes: xorg-x11-fonts-scalable -Obsoletes: xorg-x11-fonts-syriac Summary: X.Org fonts License: MIT Group: System/X11/Fonts @@ -101,6 +84,25 @@ Requires(postun): fonts-config # doesn't support Type1 fonts (boo#1169444) Supplements: (xorg-x11-fonts and libpango-1_0-0) %endif +%else +# "%%{flavor}" != "converted" +BuildRequires: bdftopcf +BuildRequires: fontpackages-devel +BuildRequires: mkfontscale +# ucs2any +BuildRequires: font-util +PreReq: fonts-config +Requires: %{name}-core +Provides: xorg-x11-fonts-100dpi +Provides: xorg-x11-fonts-75dpi +Provides: xorg-x11-fonts-cyrillic +Provides: xorg-x11-fonts-scalable +Provides: xorg-x11-fonts-syriac +Obsoletes: xorg-x11-fonts-100dpi +Obsoletes: xorg-x11-fonts-75dpi +Obsoletes: xorg-x11-fonts-cyrillic +Obsoletes: xorg-x11-fonts-scalable +Obsoletes: xorg-x11-fonts-syriac %endif %description