17
0

3 Commits

Author SHA256 Message Date
7e7a0fe93c Sync with openSUSE:Factory for SLE16.1 2026-01-09 14:55:28 +01:00
Cathy Hu
3e8173819a Add bsc#1252347 to changelog 2025-10-22 10:54:25 +02:00
Cathy Hu
5a79dce7a8 Fix policycoreutils pulling too many gtk dependencies (bsc#1252347)
Backported revision 82 from openSUSE:Factory:
osc diff --revision 81:82 > diff
patch < diff
2025-10-22 10:51:49 +02:00
3 changed files with 15 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 30 13:59:48 UTC 2025 - Ignaz Forster <iforster@suse.com>
- Move /var/lib/sepolgen/perm_map to /usr/share/sepolgen and create
a symlink instead (boo#1233024)
-------------------------------------------------------------------
Thu Jul 17 15:53:34 UTC 2025 - Johannes Segitz <jsegitz@suse.com>

View File

@@ -54,6 +54,7 @@ Source15: https://github.com/SELinuxProject/selinux/releases/download/%{ve
Source16: https://github.com/SELinuxProject/selinux/releases/download/%{version}/selinux-dbus-%{version}.tar.gz
Source17: https://github.com/SELinuxProject/selinux/releases/download/%{version}/selinux-dbus-%{version}.tar.gz.asc
Source18: policycoreutils-rpmlintrc
Source19: sepolgen.conf
Patch0: make_targets.patch
Patch2: get_os_version.patch
Patch3: run_init.pamd.patch
@@ -280,8 +281,11 @@ done
mkdir -p %{buildroot}%{_libexecdir}/selinux/hll/
mkdir -p %{buildroot}%{_localstatedir}/lib/sepolgen
mkdir -p %{buildroot}%{_tmpfilesdir}
(cd selinux-python-%{version}/po && make DESTDIR=%{buildroot} install)
cp -a %{buildroot}%{_localstatedir}/lib/sepolgen %{buildroot}%{_datadir}/sepolgen
install -m 644 %{SOURCE19} %{buildroot}%{_tmpfilesdir}
%find_lang %{name}
%find_lang selinux-python
%find_lang selinux-gui
@@ -441,7 +445,10 @@ done
%{_mandir}/man8/sepolicy.8%{?ext_man}
%{_mandir}/man8/sepolgen.8%{?ext_man}
%dir %{_localstatedir}/lib/sepolgen
%{_localstatedir}/lib/sepolgen/perm_map
%ghost %{_localstatedir}/lib/sepolgen/perm_map
%dir %{_datadir}/sepolgen
%{_datadir}/sepolgen/perm_map
%{_tmpfilesdir}/sepolgen.conf
%{_datadir}/bash-completion/completions/sepolicy
%files newrole

1
sepolgen.conf Normal file
View File

@@ -0,0 +1 @@
L /var/lib/sepolgen/perm_map - - - - ../../../usr/share/sepolgen/perm_map