Update to version 0.5.0

- resolves: RHEL-190579
- resolves: RHEL-193184
This commit is contained in:
Andreas Schneider 2026-07-22 15:50:37 +02:00
parent ee8abd1feb
commit b78ffacbb1
2 changed files with 22 additions and 3 deletions

View File

@ -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

View File

@ -1 +1 @@
SHA512 (cepces-0.3.17.tar.gz) = dff7253e5a564959ddc80d4e56f4ff7e8dac2a3a524604db54ed5457fcdcc78022a50020ab41d02e3b5a436c75982eac8ed2e8f42a0b83162666ff5929bb544f
SHA512 (cepces-0.5.0.tar.gz) = a543d85cc1937198fd63988f9f421acc3407a5271fb252d8b982b5508fceabedfb7878262a103b204665aef1eafe5dd0c30c18cf1ff3bb14208e931d3636ff81