Add compat package

This commit is contained in:
Nicolas Mailhot 2020-03-26 20:55:58 +01:00
parent 30f0640587
commit fb9a23d073

View File

@ -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 <nim@fedoraproject.org>
- 20141121-13
Add compatibility packages
* Sat Feb 22 2020 Nicolas Mailhot <nim@fedoraproject.org>
- 20141121-12
Rebuild with fonts-rpm-macros 2.0.2