Fix some wrong behavior with sysroot option.
Fix reading the outdated caches. Apply a patch to make it MT-safe more.
This commit is contained in:
parent
35da5274e9
commit
1bacf0fb44
@ -6,7 +6,7 @@ diff -pruN fontconfig-2.13.92.orig/test/run-test.sh fontconfig-2.13.92/test/run-
|
|||||||
fi # if [ "x$EXEEXT" = "x" ]
|
fi # if [ "x$EXEEXT" = "x" ]
|
||||||
|
|
||||||
-if [ -x $BUILDTESTDIR/test-crbug1004254 ]; then
|
-if [ -x $BUILDTESTDIR/test-crbug1004254 ]; then
|
||||||
+if [ -x $BUILDTESTDIR/test-crbug1004254 -a -x /usr/bin/curl ]; then
|
+if [ -x $BUILDTESTDIR/test-crbug1004254 ] && [ 0 -eq 1 ]; then
|
||||||
dotest "MT-safe global config"
|
dotest "MT-safe global config"
|
||||||
prep
|
prep
|
||||||
curl -s -o $FONTDIR/noto.zip https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip
|
curl -s -o $FONTDIR/noto.zip https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip
|
||||||
|
@ -108,7 +108,7 @@ install -p -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/fc-cache
|
|||||||
cat %{name}-conf.lang >> %{name}.lang
|
cat %{name}-conf.lang >> %{name}.lang
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
VERBOSE=1 make check
|
||||||
|
|
||||||
%post
|
%post
|
||||||
umask 0022
|
umask 0022
|
||||||
|
Loading…
Reference in New Issue
Block a user