From cc508eab4ba1da9a83e77730846c5b8db932d95b5b01ee553f30a8d225f9ed60 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Tue, 25 Jun 2024 15:50:04 +0000 Subject: [PATCH] - remove dependency on /usr/bin/python3 (bsc#1212476) OBS-URL: https://build.opensuse.org/package/show/security:idm/cepces?expand=0&rev=21 --- cepces.changes | 5 +++++ cepces.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cepces.changes b/cepces.changes index a2e1b61..ba058a2 100644 --- a/cepces.changes +++ b/cepces.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 13 10:37:44 UTC 2024 - Markéta Machová + +- remove dependency on /usr/bin/python3 (bsc#1212476) + ------------------------------------------------------------------- Mon Mar 18 19:06:40 UTC 2024 - dmulder@suse.com diff --git a/cepces.spec b/cepces.spec index 5243e80..39a8e75 100644 --- a/cepces.spec +++ b/cepces.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cepces # # Copyright (c) 2024 SUSE LLC # @@ -129,7 +129,7 @@ install -p -m 755 bin/%{app_name}-submit \ %{__rm} -rfv %{buildroot}/usr/local/etc %{__rm} -rfv %{buildroot}/usr/local/libexec/certmonger -sed -i 's/\/usr\/bin\/env python3/\/usr\/bin\/python3/g' %{buildroot}%{_libexecdir}/certmonger/%{app_name}-submit +sed -i 's/\/usr\/bin\/env python3/\/usr\/bin\/python%python3_bin_suffix/g' %{buildroot}%{_libexecdir}/certmonger/%{app_name}-submit %fdupes %{buildroot}/%{python3_sitelib}/%{app_name}