From d4b433eed33f832e8a28861b394660253b81c4b7ac145a608bd3c3e4736eaad4 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Thu, 9 Jul 2020 05:43:35 +0000 Subject: [PATCH] Accepting request 819604 from home:fstrba:branches:multimedia:libs Fix pkg-config file generation OBS-URL: https://build.opensuse.org/request/show/819604 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lame?expand=0&rev=13 --- lame.changes | 6 ++++++ lame.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lame.changes b/lame.changes index 9c6e4b5..2615705 100644 --- a/lame.changes +++ b/lame.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 8 20:03:47 UTC 2020 - Fridrich Strba + +- Escape the "$" character in spec file, so that the non-existing + variable does not get replaced by empty string + ------------------------------------------------------------------- Sun Jun 28 13:58:25 UTC 2020 - Dave Plater diff --git a/lame.spec b/lame.spec index 297fa49..d0dab15 100644 --- a/lame.spec +++ b/lame.spec @@ -124,8 +124,8 @@ includedir=%{_includedir}/lame Name: lame Description: encoder that converts audio to the MP3 file format. Version: %{version} -Libs: -L${libdir} -lmp3lame -Cflags: -I${includedir} +Libs: -L\${libdir} -lmp3lame +Cflags: -I\${includedir} EOF pushd %{buildroot}%{_libdir}/pkgconfig/ ln -s lame.pc libmp3lame.pc