Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cepces for openSUSE:Factory checked in at 2021-08-20 16:57:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cepces (Old) and /work/SRC/openSUSE:Factory/.cepces.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cepces" Fri Aug 20 16:57:51 2021 rev:4 rq:913201 version:0.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/cepces/cepces.changes 2021-07-20 15:40:08.689545430 +0200 +++ /work/SRC/openSUSE:Factory/.cepces.new.1899/cepces.changes 2021-08-20 16:58:13.306841838 +0200 @@ -1,0 +2,5 @@ +Thu Aug 19 14:39:17 UTC 2021 - David Mulder <dmul...@suse.com> + +- Disable selinux where not supported; (jsc#SLE-18456). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cepces.spec ++++++ --- /var/tmp/diff_new_pack.HG3oyF/_old 2021-08-20 16:58:13.882840962 +0200 +++ /var/tmp/diff_new_pack.HG3oyF/_new 2021-08-20 16:58:13.886840955 +0200 @@ -31,7 +31,9 @@ BuildArch: noarch Requires: %{app_name}-certmonger == %{version} +%if 0%{?sle_version} > 150300 || 0%{?suse_version} > 1500 Requires: %{app_name}-selinux == %{version} +%endif Requires: python3-%{app_name} == %{version} %description @@ -64,6 +66,7 @@ %{app_name} is an application for enrolling certificates through CEP and CES. This package provides the certmonger integration. +%if 0%{?sle_version} > 150300 || 0%{?suse_version} > 1500 %package selinux Summary: SELinux support for %{app_name} @@ -74,6 +77,7 @@ %description selinux SELinux support for %{app_name} +%endif %prep %setup -q -n %{app_name}-%{version} @@ -81,17 +85,20 @@ %build %py3_build +%if 0%{?sle_version} > 150300 || 0%{?suse_version} > 1500 # Build the SELinux module(s). for SELINUXVARIANT in %{selinux_variants}; do make -C selinux clean all mv -v selinux/%{app_name}.pp selinux/%{app_name}-${SELINUXVARIANT}.pp done +%endif %install %py3_install install -d -m 0700 %{buildroot}%{logdir} +%if 0%{?sle_version} > 150300 || 0%{?suse_version} > 1500 # Install the SELinux module(s). rm -fv selinux-files.txt @@ -103,6 +110,7 @@ echo %{_datadir}/selinux/${SELINUXVARIANT}/%{app_name}.pp >> \ selinux-files.txt done +%endif # Install configuration files. install -d %{buildroot}%{_sysconfdir}/%{app_name} @@ -121,6 +129,7 @@ sed -i 's/\/usr\/bin\/env python3/\/usr\/bin\/python3/g' %{buildroot}%{_libexecdir}/certmonger/%{app_name}-submit +%if 0%{?sle_version} > 150300 || 0%{?suse_version} > 1500 %post selinux for SELINUXVARIANT in %{selinux_variants}; do %{_sbindir}/semodule -n -s ${SELINUXVARIANT} \ @@ -142,6 +151,7 @@ fi done fi +%endif %post certmonger # Install the CA into certmonger. @@ -177,7 +187,9 @@ %dir %{_libexecdir}/certmonger %{_libexecdir}/certmonger/%{app_name}-submit +%if 0%{?sle_version} > 150300 || 0%{?suse_version} > 1500 %files selinux -f selinux-files.txt %defattr(0644,root,root,0755) +%endif %changelog