From 072f719f4fe494a8391e0b0c74bd268351f6214e Mon Sep 17 00:00:00 2001 From: ZhouWeitao Date: Thu, 17 Mar 2022 10:05:19 +0800 Subject: [PATCH] bug fix: tar Use --wildcards to enable pattern matching Signed-off-by: ZhouWeitao --- microcode_ctl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microcode_ctl.spec b/microcode_ctl.spec index 32f00f2..3c34f55 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -22,7 +22,7 @@ back to the old microcode. %prep %setup -T -q -c -n %{base_name}-%{version} -tar xf %{SOURCE0} --strip 1 */intel-ucode/* */intel-ucode-with-caveats/* \ +tar xf %{SOURCE0} --strip 1 --wildcards */intel-ucode/* */intel-ucode-with-caveats/* \ --one-top-level=intel-ucode --strip-components=2 --backup=simple if [ $? -ne 0 ]; then exit $? -- Gitee