From 3adc497ad6ca6e1fe45b0ac3055283ef5a020ec7 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 21 Aug 2024 16:54:39 +0530 Subject: [PATCH] Resolves: RHEL-55386 - split libharfbuzz-cairo library into harfbuzz-cairo subpackage --- harfbuzz.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/harfbuzz.spec b/harfbuzz.spec index 5586bc5..8e9a09a 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -1,6 +1,6 @@ Name: harfbuzz Version: 8.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Text shaping library License: MIT-Modern-Variant @@ -27,6 +27,7 @@ HarfBuzz is an implementation of the OpenType Layout engine. Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-icu%{?_isa} = %{version}-%{release} +Requires: %{name}-cairo%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for @@ -39,6 +40,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description icu This package contains Harfbuzz ICU support library. +%package cairo +Summary: Harfbuzz Cairo support library +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description cairo +This package contains Harfbuzz Cairo support library. + %prep %autosetup -p1 @@ -57,12 +65,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %ldconfig_scriptlets icu +%ldconfig_scriptlets cairo %files %license COPYING %doc NEWS AUTHORS README %{_libdir}/libharfbuzz.so.0* -%{_libdir}/libharfbuzz-cairo.so.* %{_libdir}/libharfbuzz-gobject.so.0* %{_libdir}/libharfbuzz-subset.so.0* %dir %{_libdir}/girepository-1.0 @@ -93,9 +101,15 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %files icu %{_libdir}/libharfbuzz-icu.so.* +%files cairo +%{_libdir}/libharfbuzz-cairo.so.* + %changelog +* Wed Aug 21 2024 Parag Nemade - 8.4.0-4 +- Resolves: RHEL-55386 - split libharfbuzz-cairo library into harfbuzz-cairo subpackage + * Fri Aug 16 2024 Parag Nemade - 8.4.0-3 -- Resolves: RHEL-45542 - SAST fix +- Resolves: RHEL-45541 - SAST fix * Mon Jun 24 2024 Troy Dawson - 8.4.0-2 - Bump release for June 2024 mass rebuild