diff --git a/mt-st-1.3.tar.gz b/mt-st-1.3.tar.gz deleted file mode 100644 index f1d0a3d..0000000 --- a/mt-st-1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b552775326a327cdcc076c431c5cbc4f4e235ac7c41aa931ad83f94cccb9f6de -size 35341 diff --git a/mt-st-1.3.tar.gz.asc b/mt-st-1.3.tar.gz.asc deleted file mode 100644 index c45631b..0000000 --- a/mt-st-1.3.tar.gz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQIcBAABCgAGBQJXJpQgAAoJEPZuPkGfhPTelM8P/jbLkWt0lbhLfW/pYVhal3TS -zbXPD1XZUhFbxuHOM1HnaGDUQyssOEoA4QA5cSasBskKKs7W68YWX0BE2pyrolHy -cgLHfdQZaKefmWx8nh64s77rPETff/KNNsbuDuzsw6ijN3mCJ6OdBxkn1Q/PUi+o -chC2o2pXS/uMUr2CwOBCz2gT4lJtA7ZdIt+19XIXiCQ1ngm3Ahbj4cMeK1PY7rkP -nL/QKNS60BtJ7LOu6WS0ixkY7y1Wn9p8b0mCGyX8CnjFkMWZtRqjFrq7zzjyPW/9 -q043ylpJxC60aSEfsNS3p4MPbAFcSq27VEPCPnVwYz1P6wf9PMzaYT6F3LoJjNe8 -hK46BRNfCfq91POPd1OLyKLjRR3Jx9QBfIXgHaf641b4QFsbqaiPWQBnsrR74BMO -kUBCttEwAVBxoSoR0ipLkxOnsPJkcQ0ZEXxJIYJdrDe9sI43wuNERiEGFcBXeohl -uZnCVxwyK2myXeAkRcuxfm2EuPLMDyPBD95UrnTR/b/Q8SpeuHZgFuPcQMUSKQz2 -+AaOpKx82QCzQ/rCEvYEurol9EjJjti/aSQCrn4o8/G3nJVigKoUQlRXRhfeIvM7 -97hfWcB18asBcLVQIFXuMy5lLz1uVbDOTMHxjCoZxNZaTfRLALEpqWS1B47NaPs3 -j+eDoxyABX9sayH4z922 -=n5km ------END PGP SIGNATURE----- diff --git a/mt-st-1.4.tar.gz b/mt-st-1.4.tar.gz new file mode 100644 index 0000000..37489ad --- /dev/null +++ b/mt-st-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f98a4ff02a00f2588ea370bb9560484bf48eb841e2c80a382fc0cd8f1d9a2b4c +size 37864 diff --git a/mt-st-1.4.tar.gz.asc b/mt-st-1.4.tar.gz.asc new file mode 100644 index 0000000..cb02f8d --- /dev/null +++ b/mt-st-1.4.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEy5TjqjsXVdYeuxml9m4+QZ+E9N4FAl9LdagACgkQ9m4+QZ+E +9N6Wpw//Y/S03vA1cWR/GLCrrT+jtgHEhbas/hun8q1jZu4jBJqN7rdDzj3ZRXyz +rYSpMShrbgXeNKFnCFi0uzpQTzr+9Bu23Tu/QyVGU6VKBy9RMzqHbCj19mgkhZVV +D33bJQ8QcVuMmu6jR3G66OR6aGtl1Hn90ih+S0Th9Zx1IGvzFteYPL7CHTfI0o7k +iOcCuQOAlspyk9fwQB/Bfyc1/1u8Ci5LEQVuyas/RKbLM9AJTAQhpMXuyoSokr8m +xRtqcQvvUVnhnR6JyXlcS4ag90EM1dInFaLirM7deO7gGHAzfRKNrAgvRddg7jPY +0I7CvdDoZycoVYELFrBYta5LzUGxA1ZNBlrnE8Dehw52+YYHz4UyC4J6ppddHCU+ +MWwCaF10FQ5+E7dFIuYLk/PPOpZFmmat0KgGxM7TkpkH3p/vhR5oDutei31A++Qs +6ITQYbS4DTMHQmIBWBgQqunCQrRdehEN1q0lVkH7lM8P2s9fP1bojvm2gexuR40H +VO6rs8dEU67f3IG9+7lSKdG1QZpM6DRWn7aJjL4Mu7xqmhXiIWWO+0FSfw6C5aJr +kTvb3BcHYtyGVW+s8fWBPvveIXwM3eSGPA+aQe94BWdmlQIvgcUnW/AkvG/j8IKS +hZ7NHmsnk288+sLM1sUN4tz/D9DNBrN2k3xq0vEUMQnIjUmIv9o= +=9kWA +-----END PGP SIGNATURE----- diff --git a/mt-st.changes b/mt-st.changes index 84e944c..048014b 100644 --- a/mt-st.changes +++ b/mt-st.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 25 16:10:54 UTC 2020 - Kristyna Streitova + +- Fix Source URL + +------------------------------------------------------------------- +Sun Nov 22 08:30:52 UTC 2020 - svalx@svalx.net + +- Update to version 1.4: + * show default tape device in usage output (Iustin Pop) + * improve parsing of the stinit.def configuration file to detect and flag some of the possible errors, + and add tests to prevent regressions (Iustin Pop) + * add LTO-8 (hrchu) and LTO-7 formatted as M8 (Iustin Pop) density codes + * internal code improvements for issues flagged by Coverity scan warnings (Gris Ge) + * add bash auto-completion file (Paweł Marciniak) + * don't strip anymore binaries on installation, as nowadays this is the job of package managers (Dan Horák) +- Cleanup with spec-cleaner + ------------------------------------------------------------------- Thu Mar 17 11:19:21 UTC 2017 - svalx@svalx.net diff --git a/mt-st.spec b/mt-st.spec index 26aaf8d..f5d2779 100644 --- a/mt-st.spec +++ b/mt-st.spec @@ -1,7 +1,7 @@ # # spec file for package mt-st # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,32 +12,30 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: mt-st -Version: 1.3 +Version: 1.4 Release: 0 Summary: Utility for Controlling Magnetic Tape Drives -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Archiving/Backup -Url: https://github.com/iustin/%{name} -Source0: https://github.com/iustin/mt-st/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz -Source1: https://github.com/iustin/mt-st/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz.asc +URL: https://github.com/iustin/%{name} +Source0: https://github.com/iustin/mt-st/releases/download/v%{version}/%{name}-%{version}.tar.gz +Source1: https://github.com/iustin/mt-st/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc Source2: stinit.def Source3: 61-storage-tape-init.rules Source4: %{name}.keyring BuildRequires: pkgconfig BuildRequires: pkgconfig(udev) -Provides: mt Requires: udev -Requires(post): update-alternatives Requires(post): udev -Requires(postun): update-alternatives +Requires(post): update-alternatives Requires(postun): udev -Provides: mt_st = %{version}-%{release} -Obsoletes: mt_st < %{version}-%{release} +Requires(postun): update-alternatives +Provides: mt %description mt-st tools contains two programs: mt and stinit, used for dealing @@ -51,7 +49,7 @@ new tape drivers are added. %setup -q %build -make %{?_smp_mflags} CFLAGS="%{optflags} -pipe" DEFTAPE=/dev/nst0 +%make_build CFLAGS="%{optflags} -pipe" DEFTAPE=/dev/nst0 %install %make_install EXEC_PREFIX=%{_prefix} @@ -59,6 +57,8 @@ install -D -p -m 0644 %{SOURCE2} \ %{buildroot}%{_sysconfdir}/stinit.def install -D -p -m 0644 %{SOURCE3} \ %{buildroot}%{_udevrulesdir}/61-storage-tape-init.rules +mkdir -p %{buildroot}%{_datadir}/bash-completion/completions +mv %{buildroot}%{_sysconfdir}/bash_completion.d/%{name} %{buildroot}%{_datadir}/bash-completion/completions/%{name} #For alternatives mv %{buildroot}%{_bindir}/mt %{buildroot}%{_bindir}/mtst mv %{buildroot}%{_mandir}/man1/mt.1 %{buildroot}%{_mandir}/man1/mtst.1 @@ -79,17 +79,18 @@ fi %udev_rules_update %files -%defattr(-,root,root) -%doc README.md CHANGELOG.md COPYING stinit.def.examples +%license COPYING +%doc README.md CHANGELOG.md stinit.def.examples %ghost %{_bindir}/mt %{_bindir}/mtst %{_sbindir}/stinit %ghost %{_mandir}/man1/mt.1%{ext_man} -%{_mandir}/man1/mtst.1%{ext_man} -%{_mandir}/man8/stinit.8%{ext_man} +%{_mandir}/man1/mtst.1%{?ext_man} +%{_mandir}/man8/stinit.8%{?ext_man} %config(noreplace) %{_sysconfdir}/stinit.def %{_udevrulesdir}/61-storage-tape-init.rules %ghost %{_sysconfdir}/alternatives/mt %ghost %{_sysconfdir}/alternatives/mt.1%{ext_man} +%{_datadir}/bash-completion/completions/%{name} %changelog