diff --git a/fontforge-20150330-repacked.tar.gz b/fontforge-20150330-repacked.tar.gz new file mode 100644 index 0000000..7ff7db2 --- /dev/null +++ b/fontforge-20150330-repacked.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94070fce0de20742282faea607635e8a374e60a753b7f3871e6ba9cfa703cbba +size 120489451 diff --git a/fontforge-20150330.tar.gz b/fontforge-20150330.tar.gz deleted file mode 100644 index 3d0aa5b..0000000 --- a/fontforge-20150330.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:387b885cf01572feb2f9e2a199d6b4ccd7246a2e7abaa468e3b3db8d790cf9da -size 123526672 diff --git a/fontforge.changes b/fontforge.changes index 5b0667c..8b551ae 100644 --- a/fontforge.changes +++ b/fontforge.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 20 07:10:42 UTC 2015 - pgajdos@suse.com + +- repack source [bnc#926061] + ------------------------------------------------------------------- Tue Mar 31 09:55:24 UTC 2015 - pgajdos@suse.com diff --git a/fontforge.spec b/fontforge.spec index a1b811b..50e7ab4 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -23,7 +23,9 @@ Summary: A Font Editor License: GPL-3.0+ Group: Productivity/Graphics/Vector Editors Url: http://fontforge.org/ -Source0: https://github.com/fontforge/fontforge/releases/download/%{version}/fontforge-%{version}.tar.gz +# Source: https://github.com/fontforge/fontforge/releases/download/%{version}/fontforge-%{version}.tar.gz +# see bug 926061, fontforge-*-repacked.tar.gz does not contain fontforge-*/win/gold/libX11-*.noarch.rpm +Source0: fontforge-%{version}-repacked.tar.gz # suse specific Patch0: propagate-creation-and-modification-times-to-ttf.patch BuildRequires: autoconf diff --git a/get-source.sh b/get-source.sh new file mode 100644 index 0000000..51a71dc --- /dev/null +++ b/get-source.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +# +# repack source -- delete libX11-*.noarch.rpm from there; see bug #926061 +# + +VERSION=$1 + +if [ -z $VERSION ]; then + echo "usage: $0 date_version" + echo "example: $0 20150330" + exit 1 +fi + +wget "https://github.com/fontforge/fontforge/releases/download/$VERSION/fontforge-$VERSION.tar.gz" +tar xf fontforge-$VERSION.tar.gz +rm fontforge-*/win/gold/libX11-*.noarch.rpm +tar czf fontforge-$VERSION-repacked.tar.gz fontforge-$VERSION +rm -rf fontforge-$VERSION +rm fontforge-$VERSION.tar.gz +