From fb9a23d07328e4c1b4e630859450c9e2dd500366 Mon Sep 17 00:00:00 2001 From: Nicolas Mailhot Date: Thu, 26 Mar 2020 20:55:58 +0100 Subject: [PATCH] Add compat package --- pt-sans-fonts.spec | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/pt-sans-fonts.spec b/pt-sans-fonts.spec index e980e1c..39a6070 100644 --- a/pt-sans-fonts.spec +++ b/pt-sans-fonts.spec @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT Version: 20141121 -Release: 12%{?dist} +Release: 13%{?dist} # https://company.paratype.com/pt-sans-pt-serif URL: http://www.paratype.com/public/ @@ -11,8 +11,8 @@ URL: http://www.paratype.com/public/ %global fontfamily PT Sans %global fontsummary PT Sans, a grotesque pan-Cyrillic font family %global fontpkgheader %{expand: -Obsoletes: paratype-pt-sans-fonts < %{version}-%{release} -Obsoletes: paratype-pt-sans-caption-fonts < %{version}-%{release} +Obsoletes: paratype-pt-sans-fonts <= %{version}-%{release} +Obsoletes: paratype-pt-sans-caption-fonts <= %{version}-%{release} } %global fonts PTS*.ttf PTN*.ttf PTC*.ttf %global fontconfngs %{SOURCE10} @@ -58,6 +58,17 @@ BuildArch: noarch This package provides optional documentation files shipped with %{name}. +%package -n compat-paratype-pt-sans-fonts-f33-f34 +Summary: Fedora-33 & 34 compatibility package +Provides: paratype-pt-sans-fonts = %{version}-%{release} +Provides: paratype-pt-sans-caption-fonts = %{version}-%{release} +Requires: font(ptsans) = %{version}-%{release} + +%description -n compat-paratype-pt-sans-fonts-f33-f34 +Fedora-33 & 34 compatibility package. + +%files -n compat-paratype-pt-sans-fonts-f33-f34 + %prep %setup -q -c %linuxtext *.txt @@ -81,6 +92,10 @@ install -m 0644 -vp %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} \ %doc *.pdf %changelog +* Thu Mar 26 2020 Nicolas Mailhot +- 20141121-13 +✅ Add compatibility packages + * Sat Feb 22 2020 Nicolas Mailhot - 20141121-12 ✅ Rebuild with fonts-rpm-macros 2.0.2