From c5583c69a2bad785f1c779519e7cee44a697b60e Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Fri, 1 Sep 2023 17:18:05 +0100 Subject: [PATCH] copy libmad.pc to mad.pc for compatibility --- libmad.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libmad.spec b/libmad.spec index 731617a..94df72f 100644 --- a/libmad.spec +++ b/libmad.spec @@ -1,6 +1,6 @@ Name: libmad Version: 0.16.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MPEG audio decoder library License: GPLv2+ @@ -35,6 +35,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %cmake_install rm -f %{buildroot}%{_libdir}/*.la +cp -p %{buildroot}%{_libdir}/pkgconfig/libmad.pc \ + %{buildroot}%{_libdir}/pkgconfig/mad.pc %ldconfig_scriptlets @@ -48,10 +50,14 @@ rm -f %{buildroot}%{_libdir}/*.la %{_libdir}/libmad.so %{_libdir}/cmake/mad/ %{_libdir}/pkgconfig/libmad.pc +%{_libdir}/pkgconfig/mad.pc %{_includedir}/mad.h %changelog +* Fri Sep 01 2023 Leigh Scott - 0.16.3-2 +- copy libmad.pc to mad.pc for compatibility + * Fri Sep 01 2023 Leigh Scott - 0.16.3-1 - Update to 0.16.3