From 481543af7c9d5510096470866ecede305fb396ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Wed, 14 Mar 2018 05:49:22 +0000 Subject: [PATCH] Use the new make install --- libimagequant.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libimagequant.spec b/libimagequant.spec index a62bd52..b56e554 100644 --- a/libimagequant.spec +++ b/libimagequant.spec @@ -33,9 +33,7 @@ developing applications that use %{name}. %install -install -Dpm 0755 %{name}.so.0 %{buildroot}%{_libdir}/%{name}.so.0 -ln -s %{name}.so.0 %{buildroot}%{_libdir}/%{name}.so -install -Dpm 0644 %{name}.h %{buildroot}%{_includedir}/%{name}.h +%make_install %post -p /sbin/ldconfig @@ -51,6 +49,7 @@ install -Dpm 0644 %{name}.h %{buildroot}%{_includedir}/%{name}.h %files devel %{_includedir}/%{name}.h %{_libdir}/%{name}.so +%{_libdir}/pkgconfig/imagequant.pc %changelog