🐞 Workaround Fedora problems created by rpm commit 93604e2

This commit is contained in:
Nicolas Mailhot 2020-04-28 12:41:03 +02:00
parent 1623f3140d
commit dd3d9df941
1 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
Version: 20141121 Version: 20141121
Release: 15%{?dist} Release: 16%{?dist}
# https://company.paratype.com/pt-sans-pt-serif # https://company.paratype.com/pt-sans-pt-serif
URL: http://www.paratype.com/public/ URL: http://www.paratype.com/public/
@ -37,6 +37,9 @@ requirements.
It was designed by Alexandra Korolkova, Olga Umpeleva and Vladimir Yefimov It was designed by Alexandra Korolkova, Olga Umpeleva and Vladimir Yefimov
and released by ParaType.} and released by ParaType.}
%fontmeta
%global source_files %{expand:
# This is now dead and ParaType still publishes an older version on its website # This is now dead and ParaType still publishes an older version on its website
Source0: http://www.fontstock.com/public/PTSansOFL.zip Source0: http://www.fontstock.com/public/PTSansOFL.zip
Source10: 58-%{fontpkgname}.xml Source10: 58-%{fontpkgname}.xml
@ -48,22 +51,22 @@ Source24: http://rus.paratype.ru/system/attachments/652/original/ptsanscaption55
Source25: http://rus.paratype.ru/system/attachments/653/original/ptsanscaption57bold.pdf Source25: http://rus.paratype.ru/system/attachments/653/original/ptsanscaption57bold.pdf
Source26: http://rus.paratype.ru/system/attachments/649/original/ptsans57narrow.pdf Source26: http://rus.paratype.ru/system/attachments/649/original/ptsans57narrow.pdf
Source27: http://rus.paratype.ru/system/attachments/655/original/ptsans77narrowbold.pdf Source27: http://rus.paratype.ru/system/attachments/655/original/ptsans77narrowbold.pdf
}
%fontpkg %fontpkg
%package doc %new_package doc
Summary: Optional documentation files of %{name} Summary: Optional documentation files of %{source_name}
BuildArch: noarch BuildArch: noarch
%description doc %description doc
This package provides optional documentation files shipped with This package provides optional documentation files shipped with
%{name}. %{source_name}.
%package -n compat-paratype-pt-sans-fonts-f33-f34 %new_package -n compat-paratype-pt-sans-fonts-f33-f34
Summary: Fedora-33 & 34 compatibility package Summary: Fedora-33 & 34 compatibility package
Provides: paratype-pt-sans-fonts = %{version}-%{release} Provides: paratype-pt-sans-fonts = %{version}-%{release}
Provides: paratype-pt-sans-caption-fonts = %{version}-%{release} Provides: paratype-pt-sans-caption-fonts = %{version}-%{release}
Requires: font(ptsans) = %{version}-%{release} Requires: font(ptsans) = %{version}-%{release}
%description -n compat-paratype-pt-sans-fonts-f33-f34 %description -n compat-paratype-pt-sans-fonts-f33-f34
Fedora-33 & 34 compatibility package. Fedora-33 & 34 compatibility package.
@ -92,6 +95,10 @@ install -m 0644 -vp %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} \
%doc *.pdf %doc *.pdf
%changelog %changelog
* Mon Apr 27 2020 Nicolas Mailhot <nim@fedoraproject.org>
- 20141121-16
🐞 Workaround Fedora problems created by rpm commit 93604e2
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org> * Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
- 20141121-15 - 20141121-15
💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are