Commit Graph

349 Commits

Author SHA1 Message Date
Petr Lautrbach 6209a0754b libsepol-3.3-2
- Use correct libdir in libsepol.pc (#2018492)
2021-11-11 15:51:42 +01:00
Petr Lautrbach 54a0f2adbb Add LIBDIR to %make_build
lisepol.pc is created during make phase which needs to know where our
LIBDIR is

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2018492
2021-11-11 13:24:59 +01:00
Petr Lautrbach ba9331a864 SELinux userspace 3.3 release 2021-10-22 12:18:48 +02:00
Petr Lautrbach 04203d6962 SELinux userspace 3.3-rc3 release 2021-10-07 17:20:55 +02:00
Petr Lautrbach 394d26d7f2 SELinux userspace 3.3-rc2 release 2021-09-29 13:55:33 +02:00
Petr Lautrbach c59879b8aa libsepol-3.2-3
Rebase on upstream commit 32611aea6543

See
    $ cd SELinuxProject/selinux
    $ git log --pretty=oneline libsepol-3.2..32611aea6543 -- libsepol
2021-07-28 12:45:25 +02:00
Petr Lautrbach 41713144e1 Drop unused patches 2021-07-28 12:33:17 +02:00
Fedora Release Engineering 3b62a034e6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 12:22:06 +00:00
Petr Lautrbach 3e8ea426c3 SELinux userspace 3.2 release 2021-03-08 15:42:29 +01:00
Petr Lautrbach 7a8d2de4ef SELinux userspace 3.2-rc2 release 2021-02-05 10:09:15 +01:00
Fedora Release Engineering 1945e2ec24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 17:59:48 +00:00
Petr Lautrbach 2d96c8836c SELinux userspace 3.2-rc1 release
https://lore.kernel.org/selinux/87a6t36bpp.fsf@redhat.com/T/#u
2021-01-20 16:30:09 +01:00
Robert Scheck 08f5f3b029 Spec file cleanup 2021-01-18 01:22:09 +00:00
Petr Lautrbach 7a48f3506f Enable gating on tests
https://docs.fedoraproject.org/en-US/ci/gating/
2020-11-20 13:40:13 +01:00
Petr Lautrbach f7d3e92ab4 libsepol-3.1-5
- Drop and obsolete libsepol-compat subpackage
- cil: Give error for more than one true or false block
2020-11-20 12:42:30 +01:00
Petr Lautrbach ed61d9f2c1 Drop and obsolete libsepol-compat 2020-11-20 10:38:10 +01:00
Petr Lautrbach 09d2e8094c Add make to BuildRequires 2020-11-04 20:10:59 +01:00
Petr Lautrbach 459a123b94 libsepol-3.1-4
- Drop deprecated functions and duplicated symbols
- Change library version to libsepol.so.2
- temporary ship -compat with libsepol.so.1
- Re-enable LTO flags
2020-10-23 23:19:09 +02:00
Petr Lautrbach 13eae1c266 Rebase on db0f2f382e31 at SELinuxProject
- drop deprecated functions and duplicated symbols
- change library version to libsepol.so.2
- temporary ship -compat with libsepol.so.1
- based on upstream db0f2f382e31
- re-enable lto flags
2020-10-23 23:19:02 +02:00
Petr Lautrbach 838d335395 libsepol-3.1-3
- Disable LTO cflags
- Drop telinit from % post sciptlet
2020-07-27 13:20:53 +02:00
Petr Lautrbach 32434c9af6 Disable lto cflags
Fixes:
  DEBUG util.py:621:  /usr/sbin/useradd: symbol lookup error: /lib64/libsemanage.so.1: undefined symbol: cil_compile, version LIBSEPOL_1.1
2020-07-27 13:20:43 +02:00
Petr Lautrbach 39b828ba84 Drop unnecessary telinit 2020-07-23 21:42:33 +02:00
Petr Lautrbach cdfab80e4f Use set_build_flags and -fno-semantic-interposition
see https://github.com/SELinuxProject/selinux/blob/master/README.md

CFLAGS that are encouraged to be set when overriding are:

  -fno-semantic-interposition for gcc or compilers that do not do this.
2020-07-22 21:19:47 +02:00
Ondrej Mosnacek 8f242926e6 Remove unused patch files
After c58a1c7ba8 ("libsepol-3.1-1"), these patch files are no longer
referenced from the spec file and are included in the tarball version.
Remove them.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-07-22 20:34:24 +02:00
Tom Stellard 9252e3a610 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-13 22:32:25 +00:00
Petr Lautrbach c58a1c7ba8 libsepol-3.1-1
- SELinux userspace 3.1 release
2020-07-10 18:01:58 +02:00
Petr Lautrbach fd4d970e8a Drop unused libsepol-fedora.patch 2020-04-21 15:08:43 +02:00
Fedora Release Engineering 3579f74695 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:21:16 +00:00
Petr Lautrbach 7a84df0229 Fix -fno-common issues discovered by GCC 10 2020-01-28 11:00:08 +01:00
Petr Lautrbach 50ae97404c SELinux userspace 3.0 release 2019-12-06 08:05:46 +01:00
Petr Lautrbach 5c73d48883 Strip 2 leading slashes from each patch in %autosetup 2019-11-11 11:09:32 +01:00
Petr Lautrbach 01964798fa SELinux userspace 3.0-rc1 release candidate 2019-11-11 10:55:45 +01:00
Fedora Release Engineering d300c9886e - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:21:49 +00:00
Petr Lautrbach ce5eeffdaa SELinux userspace 2.9 release 2019-03-18 16:46:48 +01:00
Petr Lautrbach ba37cef257 SELinux userspace 2.9-rc2 release candidate 2019-03-06 17:20:17 +01:00
Fedora Release Engineering ddd17ca307 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:12:27 +00:00
Petr Lautrbach 6b4592388f SELinux userspace 2.9-rc1 release candidate 2019-01-30 09:51:37 +01:00
Petr Lautrbach 20bb12ceb9 libsepol-2.8-3
- Fix RESOURCE_LEAK coverity scan defects
2018-11-13 10:23:27 +01:00
Petr Šplíchal bbccbf93a7 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:02:22 +02:00
Petr Šplíchal 32c4c0d503 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:18:15 +02:00
Petr Lautrbach fa475c1e36 Drop ldconfig from %post scriptlets
According to [1] they are not necessary since Fedora 28:

 Shared Libraries

 On Fedora 28 and newer, no scriptlets are required when shared libraries are
 installed.

[1] https://fedoraproject.org/wiki/Packaging:Scriptlets#Shared_Libraries
2018-07-18 12:28:55 +02:00
Fedora Release Engineering 70ceab4461 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:49:16 +00:00
Petr Lautrbach 0ce45d72d2 libsepol-2.8-1
- SELinux userspace 2.8 release
2018-05-25 10:21:40 +02:00
Petr Lautrbach 8bb335b66c SELinux userspace 2.8-rc3 release candidate 2018-05-14 18:52:22 +02:00
Petr Lautrbach 4526ce3233 SELinux userspace 2.8-rc1 release candidate 2018-04-23 13:12:12 +02:00
Petr Lautrbach 3a48e0a688 libsepol-2.7-6
- Prevent freeing unitialized value in ibendport handling
- Add support for the SCTP portcon keyword
- Export sepol_polcap_getnum/name functions
2018-03-21 16:07:12 +01:00
Petr Lautrbach fc3f64a7e0 libsepol-2.7-5
- cil: Create new keep field for type attribute sets
- build: follow standard semantics for DESTDIR and PREFIX
- cil: show an error when cil_expr_to_string() fails
2018-03-13 12:31:00 +01:00
Petr Lautrbach eb32e87623 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 89aa58d422 Spec file cleanup
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 10:34:54 +01:00
Petr Lautrbach 0de70f05fe Use shared repository for tests
https://fedoraproject.org/wiki/CI/Share_Test_Code
2018-02-14 13:59:37 +01:00