From 86afac052a242976485ca8e91d01ce39d3d99d892025aa150123d42e9cbdc402 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Fri, 31 Aug 2018 11:36:42 +0000
Subject: [PATCH] OBS-URL:
 https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=38

---
 schily.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/schily.spec b/schily.spec
index 103119a..a6321cf 100644
--- a/schily.spec
+++ b/schily.spec
@@ -447,7 +447,7 @@ mkdir -p "%_docdir"
 for i in "$b/%_datadir/doc"/*; do
 	test "$i" != "$b/%_docdir" && mv "$i" "$b/%_docdir/"
 done
-install -D -m 644 %{SOURCE1} %{buildroot}%{_docdir}/schily-rmt
+install -Dm 644 "%_sourcedir/README-FIRST" "$b/%_docdir/schily-rmt"
 
 # bosh
 mv -fv "$b/%_bindir/sh" "$b/%_bindir/bosh"
@@ -482,6 +482,8 @@ rm -fv "$b/%_mandir/man1/suntar.1"
 
 # mt/rmt
 rm -fv "$b/%_bindir/mt" # handled up u-a
+ln -sv smt.1 "$b/%_mandir/man1/mt.1"
+ln -sv srmt.1 "$b/%_mandir/man1/rmt.1"
 ls -l "$b/%_mandir"/man*/*mt*
 
 # get rid of things that upset rpmlint