Manually Require fontconfig and freetype
These are referenced from cairo.pc file, so they have to be installed for pkg-config to work. Since commit 90dd92, fontconfig and freetype are both delay-loaded and that causes rpm to not generate automatic mingw32(...) and mingw64(...) deps on them. This is a case where automatic mingw pkg-config deps would be handy.
This commit is contained in:
parent
90dd92a100
commit
4e0dbb5126
@ -5,7 +5,7 @@
|
||||
|
||||
Name: mingw-cairo
|
||||
Version: 1.10.2
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Summary: MinGW Windows Cairo library
|
||||
|
||||
License: LGPLv2 or MPLv1.1
|
||||
@ -63,6 +63,8 @@ MinGW Windows Cairo library.
|
||||
# Win32
|
||||
%package -n mingw32-cairo
|
||||
Summary: MinGW Windows Cairo library
|
||||
Requires: mingw32-fontconfig
|
||||
Requires: mingw32-freetype
|
||||
Requires: pkgconfig
|
||||
|
||||
%description -n mingw32-cairo
|
||||
@ -79,6 +81,8 @@ Static version of the MinGW Windows Cairo library.
|
||||
# Win64
|
||||
%package -n mingw64-cairo
|
||||
Summary: MinGW Windows Cairo library
|
||||
Requires: mingw64-fontconfig
|
||||
Requires: mingw64-freetype
|
||||
Requires: pkgconfig
|
||||
|
||||
%description -n mingw64-cairo
|
||||
@ -224,6 +228,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Mar 18 2012 Kalev Lember <kalevlember@gmail.com> - 1.10.2-13
|
||||
- Manually Require fontconfig and freetype, now that they are delay-loaded
|
||||
|
||||
* Sat Mar 17 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.10.2-12
|
||||
- Make freetype/fontconfig an optional runtime dependency (delay-load)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user