From 43dfc9d12614bd16c0acbe22d849190b7b57eef1 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Fri, 24 Mar 2023 16:06:35 -0700 Subject: [PATCH] Fix EPEL 9 build --- rust-sequoia-keyring-linter.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rust-sequoia-keyring-linter.spec b/rust-sequoia-keyring-linter.spec index 523f6e1..b7ffbc3 100644 --- a/rust-sequoia-keyring-linter.spec +++ b/rust-sequoia-keyring-linter.spec @@ -45,7 +45,9 @@ License: GPL-2.0 AND Apache-2.0 AND BSL-1.0 AND MIT AND Unicode-DFS-2016 %files -n %{crate} %license LICENSE.txt +%if 0%{?rhel} > 9 %license LICENSE.dependencies +%endif %doc README.md %{_bindir}/sq-keyring-linter %{_mandir}/man1/sq-keyring-linter* @@ -59,7 +61,9 @@ License: GPL-2.0 AND Apache-2.0 AND BSL-1.0 AND MIT AND Unicode-DFS-2016 %build %cargo_build +%if 0%{?rhel} > 9 %{cargo_license} > LICENSE.dependencies +%endif %install %cargo_install