commit e3e936b1e45e4cd45b2b32f72dc0a4ef0c206cd7
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Sep 25 16:41:06 2018 +0100
Clean up
fdk-aac.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/fdk-aac.spec b/fdk-aac.spec
index 224eb4d..80c969b 100644
--- a/fdk-aac.spec
+++ b/fdk-aac.spec
@@ -45,7 +45,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
# ld.so.conf.d file
-rm -rf %{buildroot}%{_libdir}/fdk-aac/pkgconfig/
+mv %{buildroot}%{_libdir}/%{name}/pkgconfig/ %{buildroot}%{_libdir}/pkgconfig/
install -m 0755 -d %{buildroot}%{_sysconfdir}/ld.so.conf.d/
echo -e "%{_libdir}/%{name}/ \n" >
%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
@@ -60,6 +60,7 @@ echo -e "%{_libdir}/%{name}/ \n" >
%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{nam
%files devel
%doc documentation/*.pdf
+%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/fdk-aac/
%{_libdir}/%{name}/*.so