Fix up gdk-pixbuf-query-loaders reference in the .pc file (#2109099)
We renamed the executable but forgot to update the .pc file with the new path.
This commit is contained in:
parent
d7714253a7
commit
d4dfbcd4b3
@ -2,7 +2,7 @@
|
||||
|
||||
Name: gdk-pixbuf2
|
||||
Version: 2.42.8
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: An image loading library
|
||||
|
||||
License: LGPLv2+
|
||||
@ -74,9 +74,13 @@ the functionality of the installed %{name} package.
|
||||
|
||||
touch $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
|
||||
# Rename gdk-pixbuf-query-loaders
|
||||
(cd $RPM_BUILD_ROOT%{_bindir}
|
||||
mv gdk-pixbuf-query-loaders gdk-pixbuf-query-loaders-%{__isa_bits}
|
||||
)
|
||||
# ... and fix up gdk-pixbuf-query-loaders reference in the .pc file
|
||||
sed -i -e 's/gdk-pixbuf-query-loaders/gdk-pixbuf-query-loaders-%{__isa_bits}/' \
|
||||
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
|
||||
|
||||
%find_lang gdk-pixbuf
|
||||
|
||||
@ -120,6 +124,9 @@ gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache
|
||||
%{_datadir}/installed-tests
|
||||
|
||||
%changelog
|
||||
* Wed Jul 20 2022 Kalev Lember <klember@redhat.com> - 2.42.8-3
|
||||
- Fix up gdk-pixbuf-query-loaders reference in the .pc file (#2109099)
|
||||
|
||||
* Fri Jul 15 2022 Kalev Lember <klember@redhat.com> - 2.42.8-2
|
||||
- Re-enable developer documentation building (#2107411)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user