Commit Graph

686 Commits

Author SHA1 Message Date
Tom Stellard
1eee30d43f Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-21 04:44:34 +00:00
Petr Lautrbach
a0956bca33 libselinux-3.1-1
- SELinux userspace 3.1 release
2020-07-13 09:49:43 +02:00
Jeff Law
c1725b1580 Disable LTO 2020-07-01 12:28:00 -06:00
Miro Hrončok
f9c8eab379 Rebuilt for Python 3.9 2020-05-23 06:04:14 +02:00
Petr Lautrbach
ddd80eeb74 libselinux-3.0-4
- Eliminate use of security_compute_user()
2020-03-05 14:38:46 +01:00
Fedora Release Engineering
53aea8974b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:20:40 +00:00
Mamoru TASAKA
e76c42e2c7 F-32: rebuild against ruby27 2020-01-18 13:49:27 +09:00
Petr Lautrbach
10608d13f5 SELinux userspace 3.0 release 2019-12-06 08:54:14 +01:00
Petr Lautrbach
2bb8ef885f SELinux userspace 3.0-rc1 release candidate 2019-11-11 11:12:44 +01:00
Miro Hrončok
6acb3de757 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:56:07 +02:00
Miro Hrončok
48e8d76deb Rebuilt for Python 3.8 2019-08-16 04:35:39 +02:00
Petr Lautrbach
0db7048f3d libselinux-2.9-5.fc31
- Drop python2-libselinux (#1739646)
2019-08-12 16:11:03 +02:00
Petr Lautrbach
4c00215c8b Drop python2-libselinux
https://bugzilla.redhat.com/show_bug.cgi?id=1739646
2019-08-12 16:06:56 +02:00
Fedora Release Engineering
be7cdcb77a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:21:18 +00:00
Petr Lautrbach
639114037b
libselinux-2.9-3.fc31
- Use standard build flags for Python bindings
2019-06-28 14:19:02 +02:00
Petr Lautrbach
1ae6338b7d
libselinux: Do not use SWIG_CFLAGS when Python bindings are built
Fixes:

Detecting usr/lib64/python3.6/site-packages/selinux/audit2why.cpython-36m-x86_64-linux-gnu.so with not-hardened warnings '
Hardened: audit2why.cpython-36m-x86_64-linux-gnu.so: FAIL: Gaps were detected in the annobin coverage.  Run with -v to list.
' on x86_64
2019-06-28 14:09:35 +02:00
Petr Lautrbach
7334191246 Fix a trivial typo libselinux-utils Summary
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1713765
2019-05-31 08:21:02 +02:00
Petr Lautrbach
787bbff586 libselinux-2.9-2.fc31
- Use Python distutils to install SELinux python bindings
2019-05-24 15:56:29 +02:00
Petr Lautrbach
5d8ec18db0 Use Python distutils to install SELinux python bindings
SWIG-4.0 changed its behavior so that it uses: from . import _selinux  which
looks for _selinux module in the same directory as where __init__.py is -
$(PYLIBDIR)/site-packages/selinux. But _selinux module is installed into
$(PYLIBDIR)/site-packages/ since a9604c30a5e2f ("libselinux: Change the location
of _selinux.so").

In order to prevent such breakage in future use Python's distutils instead of
building and installing python bindings manually in Makefile.

Fixes:
>>> import selinux
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.7/site-packages/selinux/__init__.py", line 13, in <module>
    from . import _selinux
ImportError: cannot import name '_selinux' from 'selinux' (/usr/lib64/python3.7/site-packages/selinux/__init__.py)
>>>

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
2019-05-22 12:47:32 +02:00
Petr Lautrbach
3c4868da25 Use separate patches instead of one big fedora-selinux.patch 2019-05-09 17:27:26 +02:00
Petr Lautrbach
6aa9d48ad7 SELinux userspace 2.9 release 2019-03-18 16:56:53 +01:00
Petr Lautrbach
f3c6251fc2 Temporary build with OVERRIDE_GETTID=0
This change should be dropped as soon as glibc we'll be correctly built as 2.30
version.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1685594
2019-03-11 15:59:09 +01:00
Petr Lautrbach
b04ead8bfb Use build flags set by %set_build_flags 2019-03-11 10:56:01 +01:00
Petr Lautrbach
813ea3403a SELinux userspace 2.9-rc2 release 2019-03-06 17:26:24 +01:00
Fedora Release Engineering
781fbd8e07 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:12:00 +00:00
Petr Lautrbach
f0805e3a76 SELinux userspace 2.9-rc1 release candidate 2019-01-30 09:55:10 +01:00
Mamoru TASAKA
1530db6627 F-30: again rebuild against ruby26 2019-01-22 09:16:40 +09:00
Petr Lautrbach
f4f1a7cf6d libselinux-2.8-7
- selinux_restorecon: Skip customized files also without -v
- Do not dereference symlink with statfs in selinux_restorecon
2019-01-21 17:29:28 +01:00
Mamoru TASAKA
c48dc77a94 F-30: rebuild against ruby26 2019-01-22 00:14:01 +09:00
Petr Lautrbach
9588e46203 libselinux-2.8-5
- Fix RESOURCE_LEAK coverity scan defects
2018-11-13 10:37:02 +01:00
Petr Šplíchal
debb5ae895 Remove explicit requires from tests.yml
Requires are now handled by Standard Test Roles based on the
individual test metadata so there is no need to list them here.
2018-10-08 13:01:00 +02:00
Petr Šplíchal
01586d10b5 Use FMF filter instead of listing tests manually
There is a new feature in the Standard Test Roles which allows to
use an FMF filter instead of listing all tests manually. All tier
one selinux tests are selected as well, thus extending requires.
2018-10-02 13:24:53 +02:00
Petr Lautrbach
10b3671015 libselinux-2.8-4
- Fix the whatis line for the selinux_boolean_sub.3 manpage
- Fix line wrapping in selabel_file.5
- Fix spelling errors in manpages
2018-09-04 09:03:02 +02:00
Petr Lautrbach
ae35c8643e Move sefcontext_compile to -utils package (#1611473) 2018-08-02 11:35:14 +02:00
Petr Lautrbach
a2aacdd005 Use %{__python2} macro to build python2 packages
${__python} and /usr/bin/python is not available anymore.

Fixes:
make[1]: /usr/bin/python: Command not found
Please specify at least one package name on the command line.
cc -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -D_GNU_SOURCE -DDISABLE_RPM -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8  -fPIC -DSHARED -c -o audit2why.lo audit2why.c
audit2why.c:6:10: fatal error: Python.h: No such file or directory
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.
2018-07-23 13:39:38 +02:00
Fedora Release Engineering
518cef6244 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:48:57 +00:00
Miro Hrončok
096f8657b5 Rebuilt for Python 3.7 2018-06-15 22:36:08 +02:00
Petr Lautrbach
cd8baf7385 libselinux-2.8-1
- SELinux userspace 2.8 release
2018-05-25 10:49:08 +02:00
Petr Lautrbach
a04749d4a1 Drop with_python3 conditional since we always build with python3 2018-05-25 10:48:14 +02:00
Petr Lautrbach
9d8d73f1cb SELinux userspace 2.8-rc3 release candidate 2018-05-14 19:00:16 +02:00
Petr Lautrbach
a6498c9056 SELinux userspace 2.8-rc2 release candidate 2018-05-04 15:51:15 +02:00
Petr Lautrbach
036a8af3d6 SELinux userspace 2.8-rc1 release candidate 2018-04-23 13:21:56 +02:00
Petr Lautrbach
680bec3de6 libselinux-2.7-13
- build: Replace PYSITEDIR with PYTHONLIBDIR
2018-03-21 16:24:25 +01:00
Petr Lautrbach
e46a333963 libselinux-2.7-12
- Correct manpages regarding removable_context
- build: follow standard semantics for DESTDIR and PREFIX
2018-03-13 12:39:22 +01:00
Petr Lautrbach
06aa87814b List gcc in BuildRequires
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
2018-02-19 13:37:46 +01:00
Petr Lautrbach
14ddc687bf Spec file cleanup
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 10:36:11 +01:00
Petr Lautrbach
1fc8681969 Use shared repository for tests
https://fedoraproject.org/wiki/CI/Share_Test_Code
2018-02-14 17:10:44 +01:00
Igor Gnatenko
02227fd6bc
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:59 +01:00
Fedora Release Engineering
1b3c6bbbd4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:18:27 +00:00
Igor Gnatenko
dac90fe60c
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 18:19:15 +01:00