From b78ffacbb113edaa7001e1f28b2ee8856479c99d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 22 Jul 2026 15:50:37 +0200 Subject: [PATCH] Update to version 0.5.0 - resolves: RHEL-190579 - resolves: RHEL-193184 --- cepces.spec | 23 +++++++++++++++++++++-- sources | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/cepces.spec b/cepces.spec index 3191e9e..ad2fd8e 100644 --- a/cepces.spec +++ b/cepces.spec @@ -7,7 +7,7 @@ %global modulename %{name} Name: cepces -Version: 0.3.17 +Version: 0.5.0 Release: %autorelease Summary: Certificate Enrollment through CEP/CES @@ -18,6 +18,7 @@ Source0: https://github.com/openSUSE/%{name}/archive/v%{version}/%{name}- BuildArch: noarch BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pyasn1) Requires: python%{python3_pkgversion}-%{name} = %{version}-%{release} %if %{with selinux} @@ -78,6 +79,15 @@ SELinux support for %{name} #endif with selinux %endif +%package user-enroll +Summary: User Certificate Enrollment +Requires: python%{python3_pkgversion}-%{name} = %{version}-%{release} +Requires: python%{python3_pkgversion}-pyasn1 + +%description user-enroll +CLI tools for requesting certificates on demand as a user to get User +Certificates. + %prep %autosetup -p1 @@ -114,6 +124,10 @@ done #endif with selinux %endif +install -d -m 0755 %{buildroot}%{_bindir} +install -m 0755 bin/cepces-user %{buildroot}%{_bindir}/cepces-user +install -m 0755 bin/cepces-user-autoenroll %{buildroot}%{_bindir}/cepces-user-autoenroll + # Configuration files install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/ install -m 644 conf/cepces.conf.dist %{buildroot}%{_sysconfdir}/%{name}/cepces.conf @@ -164,7 +178,7 @@ done # Install the CA into certmonger. if [[ "$1" == "1" ]]; then getcert add-ca -c %{name} \ - -e %{_libexecdir}/certmonger/%{name}-submit --install >/dev/null || : + -e "%{_libexecdir}/certmonger/%{name}-submit --install" >/dev/null || : fi %preun certmonger @@ -192,5 +206,10 @@ fi %files selinux -f selinux-files.txt %endif +%files user-enroll +%doc README.rst +%{_bindir}/cepces-user +%{_bindir}/cepces-user-autoenroll + %changelog %autochangelog diff --git a/sources b/sources index 7a8475f..214bc00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cepces-0.3.17.tar.gz) = dff7253e5a564959ddc80d4e56f4ff7e8dac2a3a524604db54ed5457fcdcc78022a50020ab41d02e3b5a436c75982eac8ed2e8f42a0b83162666ff5929bb544f +SHA512 (cepces-0.5.0.tar.gz) = a543d85cc1937198fd63988f9f421acc3407a5271fb252d8b982b5508fceabedfb7878262a103b204665aef1eafe5dd0c30c18cf1ff3bb14208e931d3636ff81