Accepting request 1159565 from security:idm

OBS-URL: https://build.opensuse.org/request/show/1159565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cepces?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2024-03-20 20:10:00 +00:00 committed by Git OBS Bridge
commit 3293fbe53a
5 changed files with 18 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/cepces.git</param>
<param name="changesrevision">91447ecd6116440b606c797db139da55d6c7a3e6</param></service></servicedata>
<param name="changesrevision">6abc53e7edff33cd07204c7cd10ac658c9f4db4c</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0fb4ecbe917e16d677742c09f6b000dceef48eb739ed7d1fc8cc8bd624dd020
size 42977

BIN
cepces-0.3.9.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 18 19:06:40 UTC 2024 - dmulder@suse.com
- Update to version 0.3.9:
* Fix failure to parse DER encoded cert; (bsc#1196658).
- Also disable selinux in 15.6, since it is still not supported.
-------------------------------------------------------------------
Mon Jan 22 15:17:33 UTC 2024 - dmulder@suse.com

View File

@ -21,7 +21,7 @@
%global logdir %{_localstatedir}/log/%{app_name}
Name: %{app_name}
Version: 0.3.8
Version: 0.3.9
Release: 0%{?dist}
Summary: Certificate Enrollment through CEP/CES
@ -32,7 +32,7 @@ BuildArch: noarch
Requires: %{app_name}-certmonger == %{version}
Requires: python3-%{app_name} == %{version}
%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500
%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500
Requires: (%{app_name}-selinux == %{version} if selinux-policy)
%endif
BuildRequires: fdupes
@ -68,7 +68,7 @@ Requires: certmonger
%{app_name} is an application for enrolling certificates through CEP and CES.
This package provides the certmonger integration.
%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500
%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500
%package selinux
Summary: SELinux support for %{app_name}
@ -87,7 +87,7 @@ SELinux support for %{app_name}
%build
%py3_build
%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500
%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500
# Build the SELinux module(s).
for SELINUXVARIANT in %{selinux_variants}; do
make -C selinux clean all
@ -100,7 +100,7 @@ done
install -d -m 0700 %{buildroot}%{logdir}
%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500
%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500
# Install the SELinux module(s).
rm -fv selinux-files.txt
@ -133,7 +133,7 @@ sed -i 's/\/usr\/bin\/env python3/\/usr\/bin\/python3/g' %{buildroot}%{_libexecd
%fdupes %{buildroot}/%{python3_sitelib}/%{app_name}
%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500
%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500
%post selinux
for SELINUXVARIANT in %{selinux_variants}; do
%{_sbindir}/semodule -n -s ${SELINUXVARIANT} \
@ -191,7 +191,7 @@ popd
%dir %{_libexecdir}/certmonger
%{_libexecdir}/certmonger/%{app_name}-submit
%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500
%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500
%files selinux -f selinux-files.txt
%defattr(0644,root,root,0755)
%endif