update verion to 4.3
This commit is contained in:
parent
a1c16dd81e
commit
e727136b4c
Binary file not shown.
BIN
i2c-tools-4.3.tar.xz
Normal file
BIN
i2c-tools-4.3.tar.xz
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
Name: i2c-tools
|
||||
Version: 4.1
|
||||
Version: 4.3
|
||||
Release: 1
|
||||
Summary: A heterogeneous set of I2C tools for Linux
|
||||
License: GPLv2+ LGPLv2+
|
||||
@ -70,9 +70,7 @@ A collection of tools written in perl for use with i2c devices.
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" BUILD_STATIC_LIB=0 EXTRA=eeprog
|
||||
pushd eepromer
|
||||
make CFLAGS="$RPM_OPT_FLAGS -I../include" LDFLAGS="$RPM_LD_FLAGS"
|
||||
popd
|
||||
pushd py-smbus
|
||||
CFLAGS="$RPM_OPT_FLAGS -I../include" LDFLAGS="$RPM_LD_FLAGS" \
|
||||
%{__python3} setup.py build -b build-py3
|
||||
@ -82,14 +80,6 @@ popd
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix} BUILD_STATIC_LIB=0 \
|
||||
EXTRA=eeprog libdir=%{_libdir}
|
||||
install -m 755 eepromer/{eepromer,eeprom} \
|
||||
$RPM_BUILD_ROOT%{_sbindir}
|
||||
install -m 644 eepromer/{eepromer,eeprom}.8 \
|
||||
$RPM_BUILD_ROOT%{_mandir}/man8
|
||||
# Rename README file
|
||||
mv eepromer/README eepromer/README.programs
|
||||
mv py-smbus/README py-smbus/README.py
|
||||
mv eeprom/README eeprom/README.perl
|
||||
|
||||
pushd py-smbus
|
||||
%{__python3} setup.py build -b build-py3 install --skip-build --root=$RPM_BUILD_ROOT
|
||||
@ -144,11 +134,9 @@ exit 0
|
||||
%{_mandir}/man8/i2c*.8.gz
|
||||
%{_mandir}/man8/eepro*.8.gz
|
||||
%{_mandir}/man1/decode-*.1.gz
|
||||
%{_mandir}/man3/libi2c.3.*
|
||||
%doc CHANGES README
|
||||
%doc eepromer/README*
|
||||
%doc eeprog/README.eeprog
|
||||
%doc py-smbus/README.py
|
||||
%doc eeprom/README.perl
|
||||
|
||||
%files eepromer
|
||||
%{_sbindir}/eepro*
|
||||
@ -161,6 +149,9 @@ exit 0
|
||||
%{_sbindir}/i2c-stub*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 4.3-1
|
||||
- Upgrade to Version 4.3
|
||||
|
||||
* Fri Jan 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.1-1
|
||||
- Upgrade to Version 4.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user