From 5e9664bb7d94c6e617f4e0b0f3ad3bbefcef9e79dc34c9a41e0bb2519dfb98d1 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 22 Jan 2025 11:04:42 +0000 Subject: [PATCH] - Fix shebang for $python_sitelib/huey/bin/huey_consumer.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-huey?expand=0&rev=5 --- python-huey.changes | 5 +++++ python-huey.spec | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/python-huey.changes b/python-huey.changes index 95d4a55..299206f 100644 --- a/python-huey.changes +++ b/python-huey.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 22 11:03:56 UTC 2025 - Daniel Garcia + +- Fix shebang for $python_sitelib/huey/bin/huey_consumer.py + ------------------------------------------------------------------- Tue Oct 29 21:50:45 UTC 2024 - Dirk Müller diff --git a/python-huey.spec b/python-huey.spec index 0b535e4..6761c05 100644 --- a/python-huey.spec +++ b/python-huey.spec @@ -1,7 +1,7 @@ # # spec file for package python-huey # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,8 +50,12 @@ huey, a little task queue %pyproject_install %python_clone -a %{buildroot}%{_bindir}/huey_consumer.py %python_clone -a %{buildroot}%{_bindir}/huey_consumer -%python_expand sed -i 's/env python/python/' %{buildroot}%{$python_sitelib}/huey/bin/huey_consumer.py -%python_expand chmod 755 %{buildroot}%{$python_sitelib}/huey/bin/huey_consumer.py + +%{python_expand # +chmod 755 %{buildroot}%{$python_sitelib}/huey/bin/huey_consumer.py +%{$python_fix_shebang_path %{buildroot}%{$python_sitelib}/huey/bin/huey_consumer.py} +} + %python_expand %fdupes %{buildroot}%{$python_sitelib} # all checks need a running REDIS instance