public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] epel10.2: In scriptlets split the semanage calls for robustness. (#1391871)
Date: Thu, 30 Jul 2026 16:31:33 GMT [thread overview]
Message-ID: <178542909389.1.15731309827715312091.rpms-icecream-1df4054e38e6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/icecream
Branch : epel10.2
Commit : 1df4054e38e67269be82d919dcf0b9549cfb68dc
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2016-11-14T14:44:58+01:00
Stats : +13/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/icecream/c/1df4054e38e67269be82d919dcf0b9549cfb68dc?branch=epel10.2
Log:
In scriptlets split the semanage calls for robustness. (#1391871)
---
diff --git a/icecream.spec b/icecream.spec
index 17492f0..9d3e040 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -6,7 +6,7 @@
Name: icecream
Version: 1.1
-Release: 0.4.rc2.g%{shortcommit0}%{?dist}
+Release: 0.5.rc2.g%{shortcommit0}%{?dist}
Summary: Distributed compiler
License: GPLv2+
URL: https://github.com/icecc/icecream
@@ -188,14 +188,12 @@ for selinuxvariant in %{selinux_variants}; do
done
for selinuxvariant in %{selinux_variants}; do
- {
- echo "port -a -S ${selinuxvariant} -t iceccd_port_t -p tcp 10245"
- echo "port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8766"
- echo "port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p udp 8765"
+ semanage port -a -S ${selinuxvariant} -t iceccd_port_t -p tcp 10245
+ semanage port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8766
+ semanage port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p udp 8765
# tcp 8765 is taken by LIRC. icecream.te knows it.
- # echo "port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8765"
- } | semanage -i - 2>/dev/null
-done
+ # semanage port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8765
+done 2>/dev/null
for selinuxvariant in %{selinux_variants}; do
%relabel ${selinuxvariant}
@@ -219,12 +217,10 @@ if [ $1 -eq 0 ]; then # Final removal
%saveFileContext ${selinuxvariant}
done
for selinuxvariant in %{selinux_variants}; do
- {
- echo "port -d -S ${selinuxvariant} -t iceccd_port_t -p tcp 10245"
- echo "port -d -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8766"
- echo "port -d -S ${selinuxvariant} -t icecc_scheduler_port_t -p udp 8765"
- } | semanage -i - 2>/dev/null
- done
+ semanage port -d -S ${selinuxvariant} -t iceccd_port_t -p tcp 10245
+ semanage port -d -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8766
+ semanage port -d -S ${selinuxvariant} -t icecc_scheduler_port_t -p udp 8765
+ done 2>/dev/null
fi
%endif
exit 0
@@ -270,6 +266,9 @@ exit 0
%{_libdir}/pkgconfig/icecc.pc
%changelog
+* Mon Nov 14 2016 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.5.rc2.ga79f70f
+- In scriptlets split the semanage calls for robustness. (#1391871)
+
* Fri Nov 11 2016 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.4.rc2.ga79f70f
- Fix FTBFS on s390x. (#1393742)
- Do not use #!/usr/bin/env.
reply other threads:[~2026-07-30 16:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178542909389.1.15731309827715312091.rpms-icecream-1df4054e38e6@fedoraproject.org \
--to=mschmidt@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox