2015-04-20 09:12:01 +02:00
|
|
|
#!/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
|
|
|
|
|
2015-05-11 13:24:38 +02:00
|
|
|
wget "https://github.com/fontforge/fontforge/archive/$VERSION.tar.gz"
|
|
|
|
tar xf $VERSION.tar.gz
|
|
|
|
pushd fontforge-$VERSION
|
|
|
|
# do not depend on git
|
|
|
|
git clone https://github.com/troydhanson/uthash
|
2018-08-03 05:17:57 +02:00
|
|
|
git clone --depth 1 https://github.com/coreutils/gnulib.git gnulib
|
2015-05-11 13:24:38 +02:00
|
|
|
# remove not shippable files (bug 926061)
|
2020-04-20 18:12:31 +02:00
|
|
|
# rm win/gold/libX11-*.noarch.rpm
|
2015-05-11 13:24:38 +02:00
|
|
|
popd
|
2018-08-03 05:17:57 +02:00
|
|
|
tar cJf fontforge-$VERSION-repacked.tar.xz fontforge-$VERSION
|
2015-04-20 09:12:01 +02:00
|
|
|
rm -rf fontforge-$VERSION
|
2015-05-11 13:24:38 +02:00
|
|
|
rm $VERSION.tar.gz
|
2015-04-20 09:12:01 +02:00
|
|
|
|