- repack source [bnc#926061]

OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=47
This commit is contained in:
Petr Gajdos 2015-04-20 07:12:01 +00:00 committed by Git OBS Bridge
parent 7fb9d12c88
commit a60b5afecd
5 changed files with 32 additions and 4 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94070fce0de20742282faea607635e8a374e60a753b7f3871e6ba9cfa703cbba
size 120489451

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:387b885cf01572feb2f9e2a199d6b4ccd7246a2e7abaa468e3b3db8d790cf9da
size 123526672

View File

@ -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

View File

@ -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

21
get-source.sh Normal file
View File

@ -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