commit:     9c2c4eb6864954d217e8b207bc76ba757d23d540
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Wed Dec  4 00:53:08 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 01:52:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2c4eb6

app-crypt/swtpm: Don't install tests when USE="test"

The build system doesn't install the tests otherwise. They were never
intended to be installed into the system anyway.

Closes: https://bugs.gentoo.org/944925
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/swtpm/swtpm-0.10.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-crypt/swtpm/swtpm-0.10.0.ebuild 
b/app-crypt/swtpm/swtpm-0.10.0.ebuild
index eeeaaf2f76aa..10f6f19f8ed2 100644
--- a/app-crypt/swtpm/swtpm-0.10.0.ebuild
+++ b/app-crypt/swtpm/swtpm-0.10.0.ebuild
@@ -67,6 +67,7 @@ src_configure() {
 
 src_install() {
        default
+       rm -fr "${ED}/usr/libexec/installed-tests/swtpm"
        fowners -R tss:root /var/lib/swtpm-localca
        fperms 750 /var/lib/swtpm-localca
        keepdir /var/lib/swtpm-localca

Reply via email to