Use the new make install

epel9
Sérgio M. Basto 7 years ago
parent 23faf8f04f
commit 481543af7c

@ -33,9 +33,7 @@ developing applications that use %{name}.
%install %install
install -Dpm 0755 %{name}.so.0 %{buildroot}%{_libdir}/%{name}.so.0 %make_install
ln -s %{name}.so.0 %{buildroot}%{_libdir}/%{name}.so
install -Dpm 0644 %{name}.h %{buildroot}%{_includedir}/%{name}.h
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -51,6 +49,7 @@ install -Dpm 0644 %{name}.h %{buildroot}%{_includedir}/%{name}.h
%files devel %files devel
%{_includedir}/%{name}.h %{_includedir}/%{name}.h
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%{_libdir}/pkgconfig/imagequant.pc
%changelog %changelog

Loading…
Cancel
Save