diff --git a/unixbench.spec b/unixbench.spec index 9391cdf..5d1e042 100644 --- a/unixbench.spec +++ b/unixbench.spec @@ -2,12 +2,12 @@ Name: unixbench Version: 5.1.3 -Release: 1 +Release: 2 Summary: UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years License: GPLv2 URL: https://github.com/kdlucas/byte-unixbench Source0: https://github.com/kdlucas/byte-unixbench/archive/v%{version}.tar.gz - +Source1: %{name}-%{version}.tar.gz Patch0: unixbench-add-HOWTO.patch BuildRequires: gcc @@ -19,7 +19,7 @@ For the reason that this is not a packaging friendly software, please refer to H %prep -%setup -q -n byte-%{name}-%{version}/ +%setup -q -T -b 1 -n byte-%{name}-%{version}/ %patch0 -p1 %build @@ -54,7 +54,7 @@ install -m 0644 pgms/unixbench.logo %{buildroot}/opt/%{name}/pgms/ /opt/%{name}/* %changelog -* Wed Sep 16 2020 ShiYuan Hu <421699196@qq.com> +* Wed Sep 16 2020 ShiYuan Hu <421699196@qq.com> - 5.1.3-2 - refresh source0 url * Sun Mar 29 2020 Wei Xiong