diff --git a/i2c-tools.spec b/i2c-tools.spec index fe77e1a..303fef0 100644 --- a/i2c-tools.spec +++ b/i2c-tools.spec @@ -1,6 +1,6 @@ Name: i2c-tools Version: 4.0 -Release: 1mamba +Release: 2mamba Summary: A heterogeneous set of I2C tools for Linux Group: System/Kernel and Hardware Vendor: openmamba @@ -39,11 +39,11 @@ This package contains development files for %{name}. %setup -q %build -%make prefix=%{_prefix} +%make prefix=%{_prefix} libdir=%{_libdir} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall prefix=%{_prefix} +%makeinstall prefix=%{_prefix} libdir=%{_libdir} rm -f %{buildroot}%{_includedir}/linux/i2c-dev.h @@ -72,16 +72,20 @@ rm -f %{buildroot}%{_includedir}/linux/i2c-dev.h %files -n libi2c %defattr(-,root,root) -%{_prefix}/lib/libi2c.so.* +%{_libdir}/libi2c.so.* %doc COPYING %files -n libi2c-devel %defattr(-,root,root) +%dir %{_includedir}/i2c %{_includedir}/i2c/smbus.h -%{_prefix}/lib/libi2c.a -%{_prefix}/lib/libi2c.so +%{_libdir}/libi2c.a +%{_libdir}/libi2c.so %changelog +* Thu Sep 13 2018 Silvan Calarco 4.0-2mamba +- x86_64: fix library path + * Sun Jul 29 2018 Silvan Calarco 4.0-1mamba - update to 4.0