From 70fb4db9f2b63ea1de33028fc67ba29e358f922f Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 30 Oct 2020 02:55:49 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/mt-st.git#97a10a85cddfcf8c9905293c4721783e2e3b1e42 --- mt-st.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mt-st.spec b/mt-st.spec index c400eb6..e27ee02 100644 --- a/mt-st.spec +++ b/mt-st.spec @@ -1,7 +1,7 @@ Summary: Tool for controlling tape drives Name: mt-st Version: 1.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ URL: https://github.com/iustin/mt-st Source0: https://github.com/iustin/mt-st/releases/download/v%{version}/%{name}-%{version}.tar.gz @@ -30,8 +30,11 @@ make CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" %install -%make_install EXEC_PREFIX=/usr COMPLETIONINSTALLDIR=%{buildroot}$(pkg-config --variable=completionsdir bash-completion) +COMPLETIONDIR=%{buildroot}$(pkg-config --variable=completionsdir bash-completion) +%make_install EXEC_PREFIX=/usr COMPLETIONINSTALLDIR=$COMPLETIONDIR install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/stinit.service +cd $COMPLETIONDIR +mv mt-st mt %post @@ -55,6 +58,9 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/stinit.service %changelog +* Mon Oct 12 2020 Paweł Marciniak - 1.4-3 +- Fix not working autocompletion + * Thu Sep 24 2020 Dan Horák - 1.4-2 - install completions to system directory