-devel: fix/drop -lz references in taglib-config, taglib.pc
This commit is contained in:
parent
a14d6957e5
commit
aa712ef1ed
@ -1,7 +1,7 @@
|
||||
diff -urN taglib-1.12.old/taglib-config.cmake taglib-1.12/taglib-config.cmake
|
||||
--- taglib-1.12.old/taglib-config.cmake 2021-02-15 11:23:07.000000000 +0000
|
||||
+++ taglib-1.12/taglib-config.cmake 2021-02-16 09:18:07.018627259 +0000
|
||||
@@ -16,7 +16,6 @@
|
||||
diff -up taglib-1.12/taglib-config.cmake.multilib taglib-1.12/taglib-config.cmake
|
||||
--- taglib-1.12/taglib-config.cmake.multilib 2021-02-15 05:23:07.000000000 -0600
|
||||
+++ taglib-1.12/taglib-config.cmake 2021-03-03 10:16:46.584430893 -0600
|
||||
@@ -16,7 +16,6 @@ EOH
|
||||
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
||||
@ -9,12 +9,23 @@ diff -urN taglib-1.12.old/taglib-config.cmake taglib-1.12/taglib-config.cmake
|
||||
includedir=@INCLUDE_INSTALL_DIR@
|
||||
|
||||
flags=""
|
||||
@@ -29,7 +28,7 @@
|
||||
@@ -29,7 +28,7 @@ while test $# -gt 0
|
||||
do
|
||||
case $1 in
|
||||
--libs)
|
||||
- flags="$flags -L$libdir -ltag @ZLIB_LIBRARIES_FLAGS@"
|
||||
+ flags="$flags -ltag @ZLIB_LIBRARIES_FLAGS@"
|
||||
+ flags="$flags -ltag
|
||||
;;
|
||||
--cflags)
|
||||
flags="$flags -I$includedir -I$includedir/taglib"
|
||||
diff -up taglib-1.12/taglib.pc.cmake.multilib taglib-1.12/taglib.pc.cmake
|
||||
--- taglib-1.12/taglib.pc.cmake.multilib 2021-02-15 05:23:07.000000000 -0600
|
||||
+++ taglib-1.12/taglib.pc.cmake 2021-03-03 10:20:26.682249784 -0600
|
||||
@@ -7,5 +7,6 @@ Name: TagLib
|
||||
Description: Audio meta-data library
|
||||
Requires:
|
||||
Version: @TAGLIB_LIB_VERSION_STRING@
|
||||
-Libs: -L${libdir} -ltag @ZLIB_LIBRARIES_FLAGS@
|
||||
+Libs: -L${libdir} -ltag
|
||||
+Libs.private: @ZLIB_LIBRARIES_FLAGS@
|
||||
Cflags: -I${includedir} -I${includedir}/taglib
|
||||
|
@ -8,7 +8,7 @@
|
||||
Name: taglib
|
||||
Summary: Audio Meta-Data Library
|
||||
Version: 1.12
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
License: LGPLv2 or MPLv1.1
|
||||
URL: http://taglib.github.io/
|
||||
@ -21,6 +21,7 @@ Source0: http://taglib.github.io/releases/taglib-%{version}%{?beta}.tar.gz
|
||||
Source1: taglib-snapshot.sh
|
||||
|
||||
# http://bugzilla.redhat.com/343241
|
||||
# fix multilib, and drop -lz flag to consumers (probably only needed for static linking)
|
||||
Patch0: taglib-1.12-multilib.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
@ -121,6 +122,9 @@ test "$(pkg-config --modversion taglib_c)" = "%{version}"
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 03 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.12-3
|
||||
- -devel: fix/drop -lz references in taglib-config, taglib.pc
|
||||
|
||||
* Tue Feb 16 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.12-2
|
||||
- use versioned obsoletes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user