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 -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

Loading…
Cancel
Save