From d803880586384f0574a578a59ccdd871ae6c34d2 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sun, 9 Nov 2025 09:47:10 -0500 Subject: [PATCH] Rebase to 1.1.3 Resolves: RHEL-127169 Signed-off-by: Neal Gompa --- 0001-Revert-build-fix-rpath-issue.patch | 31 +++++++++++++++++++++++++ liblc3.spec | 23 +++++++++++++++--- sources | 2 +- 3 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 0001-Revert-build-fix-rpath-issue.patch diff --git a/0001-Revert-build-fix-rpath-issue.patch b/0001-Revert-build-fix-rpath-issue.patch new file mode 100644 index 0000000..ea39bf6 --- /dev/null +++ b/0001-Revert-build-fix-rpath-issue.patch @@ -0,0 +1,31 @@ +From 061232c5fdce9783009c3d9878653188001942fd Mon Sep 17 00:00:00 2001 +From: Peter Robinson +Date: Sun, 21 Apr 2024 21:00:46 +0100 +Subject: [PATCH] Revert "build: fix rpath issue" + +This reverts commit 5e528fc54368ce826a3bb5751499061cfa1bda71. +--- + tools/meson.build | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/tools/meson.build b/tools/meson.build +index 5da77e7..8d0cf49 100644 +--- a/tools/meson.build ++++ b/tools/meson.build +@@ -24,11 +24,9 @@ lc3toolslib = static_library('lc3toolslib', + executable('elc3', ['elc3.c'], + link_with : lc3toolslib, + include_directories: inc, +- install: true, +- install_rpath: join_paths(get_option('prefix'), get_option('libdir'))) ++ install: true) + + executable('dlc3', ['dlc3.c'], + link_with : lc3toolslib, + include_directories: inc, +- install: true, +- install_rpath: join_paths(get_option('prefix'), get_option('libdir'))) ++ install: true) +-- +2.44.0 + diff --git a/liblc3.spec b/liblc3.spec index 1c2bb00..0204784 100644 --- a/liblc3.spec +++ b/liblc3.spec @@ -1,14 +1,16 @@ Name: liblc3 -Version: 1.0.4 -Release: 7%{?dist} +Version: 1.1.3 +Release: 1%{?dist} Summary: Low Complexity Communication Codec (LC3) License: Apache-2.0 URL: https://github.com/google/liblc3 Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-Revert-build-fix-rpath-issue.patch BuildRequires: gcc BuildRequires: meson +BuildRequires: python3-devel %description The Low Complexity Communication Codec (LC3) is used by @@ -23,6 +25,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files for development with %{name}. +%package -n python3-lc3 +Summary: Python3 bindings for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description -n python3-lc3 +Python3 bindings for %{name}. + %package utils Summary: Utility package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} @@ -35,7 +45,7 @@ the %{name} library. %autosetup -p1 %build -%meson -Dtools=true +%meson -Dtools=true -Dpython=true %meson_build %install @@ -53,11 +63,18 @@ the %{name} library. %{_libdir}/pkgconfig/lc3.pc %{_libdir}/liblc3.so +%files -n python3-lc3 +%pycached %{python3_sitelib}/lc3.py + %files utils %{_bindir}/dlc3 %{_bindir}/elc3 %changelog +* Sun Nov 09 2025 Neal Gompa - 1.1.3-1 +- Rebase to 1.1.3 + Resolves: RHEL-127169 + * Tue Jun 17 2025 Tomas Pelka - 1.0.4-7 - Bump release for CRB inclusion Resolves: RHEL-96893 diff --git a/sources b/sources index bf1456b..cd7992b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (liblc3-1.0.4.tar.gz) = bc047aa26059f2b2a7f5275b580f39a9237ffdd6da03645c7e95957447ba7410768ae5c08fcf1e0ac16fac873be4cbf62695b2298ef72f54f09e577664c27255 +SHA512 (liblc3-1.1.3.tar.gz) = 0f06367651b2ebd5e5e8f8e6256fd818646f6674e5bd278ba224c2fdbce7e4b6985d8ef1c5e69aee2fdbeeb4f790fb1e80529d3f8da9fc2dff98e9b8f90d4bdb