Accepting request 23586 from Base:System

Copy from Base:System/kbd based on submit request 23586 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/23586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kbd?expand=0&rev=31
This commit is contained in:
OBS User autobuild 2009-11-02 15:08:11 +00:00 committed by Git OBS Bridge
parent 3cd932c804
commit cb2b13975f
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93cbc8521404932e3db6a687b1e1a5580426aa4c28a92712fb585f5414a5a9c4
size 777427
oid sha256:43ff08968d189b2cdddbea00797a75f3a6d6b79f100e22ea2663d5d968448c09
size 789357

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 2 13:48:13 CET 2009 - mmarek@suse.cz
- do not include '.' in the repacked tarball (bnc#544975).
-------------------------------------------------------------------
Thu Oct 1 15:09:51 CEST 2009 - mmarek@suse.cz

View File

@ -24,7 +24,7 @@ License: GPL v2 or later
Group: System/Console
AutoReqProv: on
Version: 1.14.1
Release: 19
Release: 20
Summary: Keyboard and Font Utilities
Source: kbd-%{version}.tar.bz2
Source1: kbd_fonts.tar.bz2

View File

@ -1,4 +1,4 @@
#! /bin/sh
#! /bin/bash
#
# repackage kbd source tar ball,
# to remove fonts that forbid commercial distribution.
@ -8,6 +8,7 @@
tmpdir=`mktemp -d`
in="$1"
name="${in%.tar.*}"
# recent gnu tar can autodetect gzip / bzip2
if ! tar xf "$in" -C $tmpdir; then
@ -17,6 +18,6 @@ fi
echo removing files...
find $tmpdir -iname \*agafari\* | tee /dev/tty | xargs rm
tar jcf $in-repack.tar.bz2 -C $tmpdir .
tar jcf $name-repack.tar.bz2 -C $tmpdir $name
rm -rf $tmpdir