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