diff --git a/harfbuzz.changes b/harfbuzz.changes index 47d0e5b..682e892 100644 --- a/harfbuzz.changes +++ b/harfbuzz.changes @@ -3,6 +3,7 @@ Sun Mar 11 03:40:33 UTC 2018 - luc14n0@linuxmail.org - Fix broken libharbuzz-gobject.so symlink by requiring Harfbuzz's Gobject library for the devel package. +- Add missing GI bindings requirement for the devel package. ------------------------------------------------------------------- Fri Mar 9 11:51:15 UTC 2018 - astieger@suse.com diff --git a/harfbuzz.spec b/harfbuzz.spec index dd79566..f2c09ad 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -64,6 +64,14 @@ Group: System/Libraries HarfBuzz is an OpenType text shaping engine. This package contains the GObject library. +%package -n typelib-1_0-HarfBuzz-0_0 +Summary: An OpenType text shaping engine - Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-HarfBuzz-0_0 +HarfBuzz is an OpenType text shaping engine. +This package provides the GObject Introspection bindings for HarfBuzz. + %package tools Summary: An OpenType text shaping engine -- Tools Group: Productivity/Text/Utilities @@ -77,20 +85,13 @@ Group: Development/Libraries/C and C++ Requires: libharfbuzz-icu0 = %{version} Requires: libharfbuzz0 = %{version} Requires: libharfbuzz-gobject0 = %{version} +Requires: typelib-1_0-HarfBuzz-0_0 = %{version} Requires: pkgconfig(freetype2) >= 12.0.6 %description devel HarfBuzz is an OpenType text shaping engine. This package contains the development files. -%package -n typelib-1_0-HarfBuzz-0_0 -Summary: An OpenType text shaping engine - Introspection bindings -Group: System/Libraries - -%description -n typelib-1_0-HarfBuzz-0_0 -HarfBuzz is an OpenType text shaping engine. -This package provides the GObject Introspection bindings for HarfBuzz - %prep %autosetup @@ -128,6 +129,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %files -n libharfbuzz-gobject0 %{_libdir}/libharfbuzz-gobject.so.0* +%files -n typelib-1_0-HarfBuzz-0_0 +%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib + %files tools %{_bindir}/hb-ot-shape-closure %{_bindir}/hb-shape @@ -144,7 +148,4 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/harfbuzz-gobject.pc %{_datadir}/gir-1.0/HarfBuzz-0.0.gir -%files -n typelib-1_0-HarfBuzz-0_0 -%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib - %changelog