Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
7e7a0fe93c
|
|||
|
|
3e8173819a
|
||
|
|
5a79dce7a8
|
@@ -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>
|
||||
|
||||
|
||||
@@ -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
1
sepolgen.conf
Normal file
@@ -0,0 +1 @@
|
||||
L /var/lib/sepolgen/perm_map - - - - ../../../usr/share/sepolgen/perm_map
|
||||
Reference in New Issue
Block a user