Accepting request 356714 from GNOME:Next

- openSUSE-appstream-process: use specific temporary/cache
  directories between calls. Otherwise, icons extracted from a
  previous run bleed into the next one.

OBS-URL: https://build.opensuse.org/request/show/356714
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=57
This commit is contained in:
Bjørn Lie 2016-01-29 16:09:05 +00:00 committed by Git OBS Bridge
parent ac30d2ac5d
commit d99a4249f3
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 29 16:02:58 UTC 2016 - dimstar@opensuse.org
- openSUSE-appstream-process: use specific temporary/cache
directories between calls. Otherwise, icons extracted from a
previous run bleed into the next one.
-------------------------------------------------------------------
Fri Jan 29 11:57:01 UTC 2016 - dimstar@opensuse.org

View File

@ -7,17 +7,22 @@ URL=https://static.opensuse.org/appstream/tumbleweed
# Users interested in them can always produce them locally out of the appdata.xml.gz file
HTMLOUT=no
TMDIR=$(mktemp -d)
/usr/bin/appstream-builder \
--enable-hidpi \
--include-failed \
--temp-dir=/tmp/apb \
--cache-dir=/tmp/apb/cache \
--temp-dir=${TMPDIR}/apb \
--cache-dir=${TMPDIR}/apb/cache \
--origin=appdata \
--api-version=0.8 \
--basename=appdata \
--packages-dir=${SRC} \
--output-dir=${DEST}
# clean up TMPDIR again
rm -rf ${TMPDIR}
# Change screenshot URLs to our own infrastructure; disabled, as infra not ready
# appstream-util mirror-screenshots \
# ${DEST}/appdata.xml.gz \