public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: remove unnecessary requires
@ 2026-09-11 13:21 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 0791bbe53a2519f8b2c5e888d86f31d0de9fbb8b
Author : Milos Malik <mmalik@redhat.com>
Date : 2024-04-19T19:19:19+02:00
Stats : +0/-4 in 3 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/0791bbe53a2519f8b2c5e888d86f31d0de9fbb8b?branch=pr775-checkpolicy-revdeps
Log:
remove unnecessary requires
The setools/seinfo test does not really need the SELinux beaker
library to work correctly. The lines which require this library
were removed.
---
diff --git a/setools/seinfo/Makefile b/setools/seinfo/Makefile
index 0a3d589..1906663 100644
--- a/setools/seinfo/Makefile
+++ b/setools/seinfo/Makefile
@@ -60,7 +60,6 @@ $(METADATA): Makefile
@echo "Requires: selinux-policy-targeted" >> $(METADATA)
@echo "Requires: grep" >> $(METADATA)
@echo "Requires: diffutils" >> $(METADATA)
- @echo "RhtsRequires: library(selinux-policy/common)" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
diff --git a/setools/seinfo/main.fmf b/setools/seinfo/main.fmf
index ad77582..6658d35 100644
--- a/setools/seinfo/main.fmf
+++ b/setools/seinfo/main.fmf
@@ -7,8 +7,6 @@ component:
- setools
test: ./runtest.sh
framework: beakerlib
-require:
- - library(selinux-policy/common)
recommend:
- setools
- setools-console
diff --git a/setools/seinfo/runtest.sh b/setools/seinfo/runtest.sh
index 05cf002..46e4b4e 100755
--- a/setools/seinfo/runtest.sh
+++ b/setools/seinfo/runtest.sh
@@ -33,7 +33,6 @@ PACKAGE="setools"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
if rlIsRHEL 5 ; then
rlAssertRpm ${PACKAGE}
else
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:21 [tests/selinux] pr775-checkpolicy-revdeps: remove unnecessary requires Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox