Resolves: RHEL-38996 - Generate extra subpackages only for Fedora release

This commit is contained in:
Parag Nemade 2024-05-28 18:41:28 +05:30
parent 293a1fb107
commit 8dc2a59d15
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
3 changed files with 14 additions and 3 deletions

1
.gitignore vendored
View File

@ -148,3 +148,4 @@ fonttools-2.3.tar.gz
/fonttools-4.48.1.tar.gz /fonttools-4.48.1.tar.gz
/fonttools-4.49.0.tar.gz /fonttools-4.49.0.tar.gz
/fonttools-4.50.0.tar.gz /fonttools-4.50.0.tar.gz
/fonttools-4.51.0.tar.gz

View File

@ -6,8 +6,8 @@ from an XML text format, which is also called TTX. It supports TrueType, \
OpenType, AFM and to an extent Type 1 and some Mac-specific formats. OpenType, AFM and to an extent Type 1 and some Mac-specific formats.
Name: fonttools Name: fonttools
Version: 4.50.0 Version: 4.51.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Tools to manipulate font files Summary: Tools to manipulate font files
# https://spdx.org/licenses/MIT.html # https://spdx.org/licenses/MIT.html
@ -60,9 +60,13 @@ Obsoletes: python3-ufolib <= 2.1.1-11
%description -n python3-fonttools %description -n python3-fonttools
%{desc} %{desc}
# We are not providing extra fonttools packages as they
# require some other Fedora packages to be added in RHEL
%if 0%{?fedora}
# Cannot package “pathops” extra until python3dist(skia-pathops) is packaged; # Cannot package “pathops” extra until python3dist(skia-pathops) is packaged;
# cannot package “all” extra without the “pathops” extra # cannot package “all” extra without the “pathops” extra
%{?python_extras_subpkg:%python_extras_subpkg -n python3-fonttools -i %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info graphite interpolatable lxml plot symfont type1 ufo unicode woff} %{?python_extras_subpkg:%python_extras_subpkg -n python3-fonttools -i %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info graphite interpolatable lxml plot symfont type1 ufo unicode woff}
%endif
%prep %prep
%autosetup -p1 %autosetup -p1
@ -100,6 +104,12 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} -m pytest --ignore Tests/o
%{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info
%changelog %changelog
* Tue May 28 2024 Parag Nemade <pnemade AT redhat DOT com> - 4.51.0-2
- Resolves: RHEL-38996 - Generate extra subpackages only for Fedora release
* Wed Apr 10 2024 Parag Nemade <pnemade AT redhat DOT com> - 4.51.0-1
- Update to 4.51.0 version (#2273774)
* Tue Apr 16 2024 Parag Nemade <pnemade AT redhat DOT com> - 4.50.0-1 * Tue Apr 16 2024 Parag Nemade <pnemade AT redhat DOT com> - 4.50.0-1
- Resolves: RHEL-31499 - Update to 4.50.0 version - Resolves: RHEL-31499 - Update to 4.50.0 version

View File

@ -1 +1 @@
SHA512 (fonttools-4.50.0.tar.gz) = a169f18077f2c4f0ad8a46569a30b3e35ca2343e9f3d43cd362dafa26085f545dd9a42e7edb3054f9d37e1576117aa34a0c2b4adabc9fc29c076e69d3fdd66ee SHA512 (fonttools-4.51.0.tar.gz) = 3a9984b56a8ed1e918781c8503dd8901276ae7e20659777ff0a9bf799a42b4ec112a6cfd31deb81f73f7f19c03145a66962187fb243b2580db9d3ef7011d3d82