aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2021-07-11 02:34:38 +0800
committerTing-Wei Lan <lantw44@gmail.com>2021-07-11 02:34:38 +0800
commit2788d93ce24c6e88689848d465a3baac572e0e2c (patch)
tree641ceb466632db97a4043d2e1d6ca7c64f2232fa
parent813926603e50e89b3ffb2b795ef4c193f08cc337 (diff)
downloadcopr-rpm-spec-2788d93ce24c6e88689848d465a3baac572e0e2c.tar
copr-rpm-spec-2788d93ce24c6e88689848d465a3baac572e0e2c.tar.gz
copr-rpm-spec-2788d93ce24c6e88689848d465a3baac572e0e2c.tar.bz2
copr-rpm-spec-2788d93ce24c6e88689848d465a3baac572e0e2c.tar.lz
copr-rpm-spec-2788d93ce24c6e88689848d465a3baac572e0e2c.tar.xz
copr-rpm-spec-2788d93ce24c6e88689848d465a3baac572e0e2c.tar.zst
copr-rpm-spec-2788d93ce24c6e88689848d465a3baac572e0e2c.zip
tcc: Fix tcc -run when SELinux is enforcing
https://github.com/lantw44/copr-rpm-spec/issues/7
-rw-r--r--tcc/tcc/tcc.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/tcc/tcc/tcc.spec b/tcc/tcc/tcc.spec
index ceb923c..e5d0440 100644
--- a/tcc/tcc/tcc.spec
+++ b/tcc/tcc/tcc.spec
@@ -12,7 +12,7 @@
Name: %{pkg_fullname}
Version: 0.9.27
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Tiny C Compiler
License: LGPLv2
@@ -32,7 +32,7 @@ It can also run C source code as a script.
# We cannot use configure macro here because it will pass unsupported compiler
# flags to tcc. These flags are passed to gcc with make command line instead.
./configure --prefix=%{_prefix} --libdir=%{_libdir} \
- --cc=%{use_cc} --enable-cross
+ --cc=%{use_cc} --with-selinux --enable-cross
%make_build \
%ifarch x86_64 amd64
%if %{use_gcc}
@@ -98,6 +98,9 @@ fi
%doc Changelog README TODO VERSION tcc-doc.html
%changelog
+* Sun Jul 11 2021 Ting-Wei Lan <lantw44@gmail.com> - 0.9.27-7
+- Fix tcc -run when SELinux is enforcing
+
* Sat Mar 13 2021 Ting-Wei Lan <lantw44@gmail.com> - 0.9.27-6
- Rebuilt for Fedora 34 and 35