x86_64: fix library path [release 4.0-2mamba;Thu Sep 13 2018]
This commit is contained in:
parent
04d8dc35e8
commit
6c038656b4
@ -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 <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
|
||||
- update to 4.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user