fix(stable-ts): Package name (#11974) (#11978)

(cherry picked from commit 45595ff392)

Co-authored-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
Raboneko
2026-05-05 14:09:55 -05:00
committed by GitHub
parent dade2b9b41
commit a8e4b62e2d
+9 -7
View File
@@ -1,9 +1,10 @@
%global pypi_name stable_ts
%global real_name stable-ts
%global _desc Transcription, forced alignment, and audio indexing with OpenAI's Whisper.
Name: python-%{pypi_name}
Name: python-%{real_name}
Version: 2.19.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Transcription, forced alignment, and audio indexing with OpenAI's Whisper
License: MIT
URL: https://github.com/jianfch/stable-ts
@@ -20,11 +21,12 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
%package -n python3-%{real_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Obsoletes: python3-%{pypi_name} < %{evr}
%{?python_provide:%python_provide python3-%{real_name}}
%description -n python3-%{pypi_name}
%description -n python3-%{real_name}
%_desc
%prep
@@ -38,10 +40,10 @@ sed -i "s/openai-whisper==20230308/openai-whisper/" setup.py
%pyproject_install
%pyproject_save_files stable_whisper
%files -n python3-%{pypi_name} -f %{pyproject_files}
%files -n python3-%{real_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%{_bindir}/stable-ts
%{_bindir}/%{real_name}
%changelog
* Mon May 04 2026 Owen Zimmerman <owen@fyralabs.com>