Skip to content

Commit ea0eadc

Browse files
committed
fix(packaging): rename spec back to headset-battery-indicator, add Obsoletes
- Rename python-headset-battery-indicator.spec -> headset-battery-indicator.spec - Change Name: python-headset-battery-indicator -> headset-battery-indicator - Add Obsoletes/Provides for python-headset-battery-indicator to allow seamless dnf upgrade from both 1.3.0 and any python- named installs - Remove headset-battery-indicator.spec from .gitignore (was added for PyInstaller, conflicts with the RPM spec file)
1 parent d8c18bc commit ea0eadc

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ build/
66
.briefcase/
77
*.spec.bak
88
headsetcontrol.exe
9-
headset-battery-indicator.spec
109
headset-battery-indicator-debug.spec
1110
headset-battery-indicator2.spec
1211
headset-battery-indicator.ico
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Name: python-headset-battery-indicator
1+
Name: headset-battery-indicator
22
Version: 2.2.0
33
Release: 1%{?dist}
44
Summary: System tray application for monitoring USB headsets via HeadsetControl
@@ -9,6 +9,9 @@ Source0: https://github.com/ruflas/headset-battery-indicator/archive/refs
99

1010
BuildArch: noarch
1111

12+
Obsoletes: python-headset-battery-indicator < 2.3.0
13+
Provides: python-headset-battery-indicator = %{version}
14+
1215
BuildRequires: python3-devel
1316
BuildRequires: pyproject-rpm-macros
1417
BuildRequires: desktop-file-utils

0 commit comments

Comments
 (0)