Petr Lautrbach
2e1ddce936
Build with python3 by default
...
Since this [1] change, there's no /usr/bin/python anymore
[1] https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
2018-07-18 22:39:08 +02:00
Petr Lautrbach
2f16dd5c7d
cgroup support was removed from sandbox in 2.4 release long time ago
2018-07-18 13:04:23 +02:00
Petr Lautrbach
748028495e
Disable automatic compilation of Python files in extra directories
...
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IDDR65FMKZYZYLL6DGFEKFACC55PELW3/
https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
2018-07-16 14:47:02 +02:00
Petr Lautrbach
7505971712
Do not use symlinks to enable selinux-autorelabel-mark.service
...
The service should be enabled using `systemd preset`
https://bugzilla.redhat.com/show_bug.cgi?id=1589720
2018-07-16 13:35:12 +02:00
Fedora Release Engineering
3a5478fbe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 22:42:19 +00:00
Miro Hrončok
ed5913bed9
Rebuilt for Python 3.7
2018-07-02 18:24:39 +02:00
Petr Lautrbach
c1291665a7
policycoreutils-2.8-3.fc29
...
- selinux-autorelabel: Use plymouth --quit rather then --hide-splash (#1592221 )
- selinux-autorelabel: Increment boot_indeterminate grub environment variable (#1592221 )
2018-06-18 11:23:27 +02:00
Miro Hrončok
426ef33d7b
Rebuilt for Python 3.7
2018-06-15 22:47:46 +02:00
Petr Lautrbach
e02a588654
policycoreutils-2.8-1
...
- SELinux userspace 2.8 release
2018-05-25 11:45:50 +02:00
Petr Lautrbach
dafef9cd56
policycoreutils-2.8-0.rc3.2
...
- selinux-autorelabel: set UEFI boot order (BootNext) same as BootCurrent
- selinux-autorelabel: synchronize cached writes before reboot (#1385272 )
2018-05-22 07:55:28 +02:00
Petr Lautrbach
b05095b2d3
SELinux userspace 2.8-rc3 release candidate
2018-05-15 09:51:02 +02:00
Petr Lautrbach
b1b5b44bff
SELinux userspace 2.8-rc2 release candidate
2018-05-04 16:20:03 +02:00
Petr Lautrbach
6545ae2ada
SELinux userspace 2.8-rc1 release candidate
2018-04-23 14:31:24 +02:00
Petr Lautrbach
1d2d2bc1ce
Drop python2 sepolicy gui files from policycoreutils-gui
...
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1566618
2018-04-19 09:13:06 +02:00
Iryna Shcherbina
6035a0be1e
Update Python 2 dependency declarations to new packaging standards
2018-04-19 09:12:05 +02:00
Petr Lautrbach
3581fc76d3
policycoreutils-2.7-18
...
- Move semodule_* utilities to policycoreutils package (#1562549 )
2018-04-03 12:15:10 +02:00
Petr Lautrbach
a707f868c5
Move semodule_* utilities to policycoreutils package
...
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1562549
2018-04-03 12:12:50 +02:00
Petr Lautrbach
3b2c0121a0
policycoreutils-2.7-17
...
- semanage/seobject.py: Fix undefined store check (#1559174 )
2018-03-22 13:10:25 +01:00
Petr Lautrbach
e7588169c3
Since python subpackages are noarch now, use provides without %_isa
2018-03-21 17:54:54 +01:00
Petr Lautrbach
389ac0b9c7
Require libsepol-2.7-6, libselinux-2.7-13, libsemanage-2.7-12
2018-03-21 16:53:03 +01:00
Petr Lautrbach
320398f39a
policycoreutils-2.7-16
...
- Build python only subpackages as noarch
- Move semodule_package to policycoreutils-devel
2018-03-16 17:10:02 +01:00
Petr Lautrbach
ebb2c5bfea
Build python only subpackages as noarch
...
policycoreutils-dbus.noarch.rpm
policycoreutils-gui.noarch.rpm
policycoreutils-python-utils.noarch.rpm
python3-policycoreutils.noarch.rpm
python2-policycoreutils.noarch.rpm
2018-03-16 17:05:10 +01:00
Petr Lautrbach
8f22730766
Move semodule_package to policycoreutils-devel
...
It's not a python utility and other semodule_* tools live there.
2018-03-16 17:03:10 +01:00
Petr Lautrbach
38ab1da754
policycoreutils-2.7-15
...
- sepolicy: Fix translated strings with parameters
- sepolicy: Support non-MLS policy
- sepolicy: Initialize policy.ports as a dict in generate.py
- gui/polgengui.py: Use stop_emission_by_name instead of emit_stop_by_name
- Minor update for bash completion
- semodule_package: fix semodule_unpackage man page
- gui/semanagePage: Close "edit" and "add" dialogues when successfull
- gui/fcontextPage: Set default object class in addDialog\
- sepolgen: fix typo in PolicyGenerator
- build: follow standard semantics for DESTDIR and PREFIX
2018-03-13 14:43:27 +01:00
Petr Lautrbach
3b55d7f197
policycoreutils-2.7-14
...
- Use Fedora RPM build flags
https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1548740
2018-02-26 10:48:36 +01:00
Petr Lautrbach
005a370f1c
-gui requires gtk3 and python3-gobject at least
2018-02-20 12:44:11 +01:00
Petr Lautrbach
d3d971ba91
Fix mangling python shebangs
...
- use pathfix.py instead of sed
- clean up '*~' files
Fixes:
policycoreutils has broken dependencies in the rawhide tree:
On i386:
python2-policycoreutils-2.7-11.fc28.i686 requires /usr/bin/python22
On armhfp:
python2-policycoreutils-2.7-11.fc28.armv7hl requires /usr/bin/python22
2018-02-20 12:38:53 +01:00
Petr Lautrbach
2c47aaddd8
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
Miro Hrončok
c6b051c966
python3: suffix -> prefix
2018-02-19 11:56:26 +01:00
Petr Lautrbach
b11cdd32ec
Spec file cleanup
...
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 10:19:01 +01:00
Petr Lautrbach
1bb4ee0d45
policycoreutils-2.7-11.f28
...
- Rewrite selinux-polgengui to use Gtk3
- Drop python2 and gnome-python2 from gui Requires
2018-02-15 21:34:05 +01:00
Petr Lautrbach
b16a211432
Drop python2 and gnome-python2 from gui Requires
...
It should not be needed anymore
2018-02-15 21:29:23 +01:00
Petr Lautrbach
203045ec1e
gui: Several python 3 related fixes from fedora-selinux/selinux
...
- gui/polgengui.py: Fix sepolicy.generate import in polgengui.py
- gui/polgengui.py: Convert polgen.glade to Builder format polgen.ui
- python/sepolicy: Use list instead of map
- python/sepolicy: Do not use types.BooleanType
2018-02-15 21:29:23 +01:00
Petr Lautrbach
7ef4db2ba4
Use /usr/bin/python2 and other "avoid Python 2" improvements
...
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
2018-02-15 21:29:23 +01:00
Fedora Release Engineering
f81f64ddb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 05:31:13 +00:00
Petr Lautrbach
dfb5be5ac0
policycoreutils-2.7-9.fc28
...
- audit-libs-python was renamed to audit-libs-python2
- Use python2_sitearch and python2_sitelib macro
2018-01-31 10:51:43 +01:00
Petr Lautrbach
d6b46ca1c4
audit-libs-python was renamed to audit-libs-python2
2018-01-24 17:55:20 +01:00
Petr Lautrbach
1083f0e66f
Use python2_sitearch and python2_sitelib macros
...
Fixes:
/usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper': [Errno 2] No such file or directory
2018-01-23 09:02:27 +01:00
Igor Gnatenko
846a16972b
Remove obsolete scriptlets
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:00:01 +01:00
Petr Lautrbach
3cd3d543c6
policycoreutils-2.7-7.fc28
...
- semanage: bring semanageRecords.set_reload back to seobject.py
(#1527745 )
2017-12-20 10:31:18 +01:00
Petr Lautrbach
c33737fa2a
Fix most of rpmlint warnings
...
Known issues:
policycoreutils.spec: W: invalid-url Source14: sepolicy-icons.tgz
The value should be a valid, public HTTP, HTTPS, or FTP URL.
policycoreutils.spec: W: invalid-url Source12:
policycoreutils_man_ru2.tar.bz2
The value should be a valid, public HTTP, HTTPS, or FTP URL.
2017-12-13 18:33:19 +01:00
Petr Lautrbach
24037d1412
policycoreutils-2.7-6.fc28
...
- semanage: make seobject.py backward compatible
- Own %{pythonX_sitelib}/site-packages/sepolicy directories (#1522942 )
2017-12-13 18:15:36 +01:00
Petr Lautrbach
629a62a8a9
Own %{pythonX_sitelib}/site-packages/sepolicy directories
...
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1522942
2017-12-13 17:14:18 +01:00
Petr Lautrbach
bd497b9fd6
policycoreutils-2.7-5.fc28
...
- sepolicy: Fix sepolicy manpage
- semanage: Update Infiniband code to work on python3
- semanage: Fix export of ibendport entries
- semanage: Enforce noreload only if it's requested by -N option
2017-11-22 15:39:07 +01:00
Petr Lautrbach
e1f5c9548b
Change python to python3 in system-config-selinux.py
2017-10-20 14:16:41 +02:00
Petr Lautrbach
8fd0cedde2
policycoreutils-2.7-4.fc28
...
- restorecond: check write() and daemon() results
- sepolicy: do not fail when file_contexts.local or .subs do not exist
- sepolicy: remove stray space in section "SEE ALSO"
- sepolicy: fix misspelling of _ra_content_t suffix
- gui: port to Python 3 by migrating to PyGI
- gui: remove the status bar
- gui: fix parsing of "semodule -lfull" in tab Modules
- gui: delete overridden definition of usersPage.delete()
- Enable listing file_contexts.homedirs (#1409813 )
- remove semodule_deps
2017-10-20 13:51:23 +02:00
Petr Lautrbach
7f2e82a8aa
policycoreutils-python[,3] require setools >= 4.1.1
2017-09-04 17:31:57 +02:00
Zbigniew Jędrzejewski-Szmek
3ed3f18813
Also add Provides for the old name without %_isa
2017-08-19 16:47:51 -04:00
Zbigniew Jędrzejewski-Szmek
5c06281133
Python 2 binary package renamed to python2-policycoreutils
2017-08-19 09:39:10 -04:00
Petr Lautrbach
0ea988e102
policycoreutils-2.7-1
...
- Update to upstream release 2017-08-04
- Move DBUS API from -gui to -dbus package
2017-08-07 17:15:23 +02:00