From 8fce06527d8f0f20979a1c7264363e6786c2000d Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 9 Jan 2025 14:18:24 +0100 Subject: [PATCH] update version Signed-off-by: Toshaan Bharvani --- SOURCES/gcc14_buildfix.patch | 11 +++++++++++ SPECS/rtmpdump.spec | 26 ++++++++++++++++++++------ 2 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 SOURCES/gcc14_buildfix.patch diff --git a/SOURCES/gcc14_buildfix.patch b/SOURCES/gcc14_buildfix.patch new file mode 100644 index 0000000..3109df4 --- /dev/null +++ b/SOURCES/gcc14_buildfix.patch @@ -0,0 +1,11 @@ +--- a/librtmp/hashswf.c ++++ b/librtmp/hashswf.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + #include "rtmp_sys.h" + #include "log.h" + diff --git a/SPECS/rtmpdump.spec b/SPECS/rtmpdump.spec index bfb537f..d624296 100644 --- a/SPECS/rtmpdump.spec +++ b/SPECS/rtmpdump.spec @@ -1,16 +1,17 @@ -%global commit c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 +%global commit f1b83c10d8beb43fcc70a6e88cf4325499f25857 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global gitdate 20190330 +%global gitdate 20210219 Name: rtmpdump Version: 2.4 -Release: 21.%{gitdate}.git%{shortcommit}%{?dist} +Release: 25.%{gitdate}.git%{shortcommit}%{?dist} Summary: Toolkit for RTMP streams # The tools are GPLv2+. The library is LGPLv2+, see below. License: GPLv2+ -URL: http://rtmpdump.mplayerhq.hu/ -Source0: http://repo.or.cz/w/rtmpdump.git/snapshot/%{commit}.tar.gz#/rtmpdump-%{shortcommit}.tar.gz +URL: https://rtmpdump.mplayerhq.hu/ +Source0: https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/%{commit}.tar.gz#/rtmpdump-%{shortcommit}.tar.gz +Patch0: gcc14_buildfix.patch BuildRequires: gcc BuildRequires: gnutls-devel @@ -43,7 +44,7 @@ librtmp is a support library for RTMP streams. The librtmp-devel package contains include files needed to develop applications using librtmp. %prep -%setup -q -n %{name}-%{shortcommit} +%autosetup -p1 -n %{name}-%{shortcommit} %build # The fact that we have to add -ldl for gnutls is Fedora bug #611318 @@ -77,6 +78,19 @@ rm -f %{buildroot}%{_libdir}/librtmp.a %{_mandir}/man3/librtmp.3* %changelog +* Fri Aug 02 2024 RPM Fusion Release Engineering - 2.4-25.20210219.gitf1b83c1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Feb 04 2024 RPM Fusion Release Engineering - 2.4-24.20210219.gitf1b83c1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 28 2023 Nicolas Chauvet - 2.4-23.20210219.gitf1b83c1 +- Switch git repo urls + +* Sun Aug 07 2022 RPM Fusion Release Engineering - 2.4-22.20190330.gitc5f04a5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg + 5.1 + * Wed Feb 09 2022 RPM Fusion Release Engineering - 2.4-21.20190330.gitc5f04a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild