From eacdd13c7f1bb473d8a7506ce4bfb1209578b9301be6d511d86b92ebbd937c71 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 28 Jan 2020 13:55:37 +0000 Subject: [PATCH] Cleanup spec-file OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/xterm-console?expand=0&rev=8 --- xterm-console.changes | 1 + xterm-console.spec | 12 +++--------- xterm_console-1.0.obscpio | 2 +- xterm_console.obsinfo | 4 ++-- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/xterm-console.changes b/xterm-console.changes index c6412c0..54a5083 100644 --- a/xterm-console.changes +++ b/xterm-console.changes @@ -6,6 +6,7 @@ Tue Jan 28 12:26:32 UTC 2020 - okurz@suse.com https://github.com/os-autoinst/xterm_console * Change to noarch as there are only scripts * Delete old pre-SLE11 cruft + * Cleanup spec-file (delete unused symbol; simplify) ------------------------------------------------------------------- Mon Jun 25 13:21:00 UTC 2018 - slindomansilla@suse.com diff --git a/xterm-console.spec b/xterm-console.spec index dd2ffbd..95b508a 100644 --- a/xterm-console.spec +++ b/xterm-console.spec @@ -45,26 +45,20 @@ This package contains the basic X.Org terminal program. cp %{SOURCE1} . %build -%define xappdefs %{_datadir}/X11/app-defaults %define xfontsd %{_datadir}/fonts - -if ! which bdftopcf &> /dev/null; then exit 1; fi - +which bdftopcf &> /dev/null || exit 1 chmod +x ./psf2bdf.pl -for font in %{_datadir}/kbd/consolefonts/*.psfu.gz -do +for font in %{_datadir}/kbd/consolefonts/*.psfu.gz; do fontname="${font##*/}" fontname="${fontname%.psfu.gz}" gunzip -c $font | ./psf2bdf.pl | sed -e "s,FONT \+-psf-,FONT ${fontname}," > "$fontname".bdf done -for i in *.bdf -do +for i in *.bdf; do bdftopcf "$i" | gzip -9 >"${i%.bdf}.pcf.gz" done %install - mkdir -p %{buildroot}%{_bindir} install -m 755 %{SOURCE0} %{buildroot}%{_bindir} diff --git a/xterm_console-1.0.obscpio b/xterm_console-1.0.obscpio index 012a059..c0478c2 100644 --- a/xterm_console-1.0.obscpio +++ b/xterm_console-1.0.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f8a9c7a57777d929e11f7d88989d4ada757b26991278d726f6c967c70a1df346 +oid sha256:e46efe2eaf8d79df16346b56fbdd20d7f729d4cb9442f7c96999b2ed982413cb size 10250 diff --git a/xterm_console.obsinfo b/xterm_console.obsinfo index 64bd2a5..4e57d37 100644 --- a/xterm_console.obsinfo +++ b/xterm_console.obsinfo @@ -1,5 +1,5 @@ name: xterm_console version: 1.0 -mtime: 1580216862 -commit: 31a8e5607115cd2e7713944a1360ef3614ce647a +mtime: 1580219585 +commit: 580eaafe2972e1e642254c7fc64603a67637c388