[appstream] appstream-index scriptlet hanging, skip for now (#1098306)

Rex Dieter rdieter at fedoraproject.org
Fri Jun 20 12:12:12 UTC 2014


commit e75b1ac497cbae16b473f1943295ef4967e6182e
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Jun 20 07:12:10 2014 -0500

    appstream-index scriptlet hanging, skip for now (#1098306)

 appstream.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/appstream.spec b/appstream.spec
index 7b74c1d..1bcda42 100644
--- a/appstream.spec
+++ b/appstream.spec
@@ -2,7 +2,7 @@
 Summary: Utilities to generate, maintain and access the AppStream Xapian database 
 Name:    appstream
 Version: 0.6.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 # lib LGPLv3+, tools GPLv3+
 License: GPLv3+ and LGPLv3+
@@ -72,10 +72,12 @@ touch %{buildroot}/var/cache/app-info/cache.watch
 make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" ||:
 
 
-%post
-/sbin/ldconfig
-%{_bindir}/appstream-index --refresh --force >& /dev/null ||:
+## include this scriptlet *somewhere*, but only if it is safe and
+## won't hang or take a long time, see
+## https://bugzilla.redhat.com/1098306
+#{_bindir}/appstream-index --refresh --force >& /dev/null ||:
 
+%post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
@@ -113,6 +115,9 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" ||:
 
 
 %changelog
+* Fri Jun 20 2014 Rex Dieter <rdieter at fedoraproject.org> 0.6.2-4
+- appstream-index scriptlet hanging, skip for now (#1098306)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list