x86_64: fix library path [release 4.0-2mamba;Thu Sep 13 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 23:47:10 +01:00
parent 04d8dc35e8
commit 6c038656b4

View File

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