commit 67777e8a9e6e9e9de01d68bd3413b39aa1aaa3a3
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue May 7 21:06:04 2024 +0100
Update to git snapshot
cmus.spec | 25 +++++++++++++++++++++----
ffmpeg6.patch | 15 ---------------
sources | 2 +-
3 files changed, 22 insertions(+), 20 deletions(-)
---
diff --git a/cmus.spec b/cmus.spec
index 56be1b0..4b017b8 100644
--- a/cmus.spec
+++ b/cmus.spec
@@ -1,11 +1,21 @@
+%global commit0 89f1c935cbc0a345b796507bdc52c76086ecc26b
+%global date 20240324
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+#global tag %{version}
+
+%global surl
https://github.com/cmus/cmus
+
Name: cmus
-Version: 2.10.0
-Release: 8%{?dist}
+Version: 2.10.1
+Release: 0.1%{!?tag:.%{date}git%{shortcommit0}}%{?dist}
Summary: Ncurses-Based Music Player
License: GPLv2+
URL:
https://cmus.github.io/
-Source0:
https://github.com/cmus/%{name}/archive/v%{version}/%{name}-%{version}.ta...
-Patch0: ffmpeg6.patch
+%if 0%{?tag:1}
+Source0: %surl/archive/v%{version}/%{name}-%{version}.tar.gz
+%else
+Source0: %surl/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
+%endif
BuildRequires: alsa-lib-devel
BuildRequires: faad2-devel
@@ -32,7 +42,11 @@ operating systems
%prep
+%if 0%{?tag:1}
%autosetup -p1
+%else
+%autosetup -p1 -n %{name}-%{commit0}
+%endif
%build
@@ -88,6 +102,9 @@ chmod -x examples/*
%changelog
+* Tue May 07 2024 Leigh Scott <leigh123linux(a)gmail.com> -
2.10.1-0.1.20240324git89f1c93
+- Update to git snapshot
+
* Sat Feb 03 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
2.10.0-8
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
diff --git a/sources b/sources
index e73b110..c631360 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cmus-2.10.0.tar.gz) =
c055dc974a88f32c7f19fb2e4260ede37fbddc3f23707a98e7f669032c1b4fd9a1032eb5c808cf5ee635617d3abf176e78d1e8596cbe669bbad95cd5c50dde7c
+SHA512 (cmus-89f1c93.tar.gz) =
51e0c7497b23abbd35668bfc5da63f93fda572d26b72124eb739bb39020c2ec617ff6fb0aa3baadbc5bc55efdfca5708650d83dc64c225f7cbd829d6a0840ccb