Split out perl tools to a separate subpackage

This commit is contained in:
Peter Robinson 2013-10-09 22:09:02 +01:00
parent bbd91c6797
commit e0de8764da

View File

@ -6,7 +6,7 @@
Name: i2c-tools Name: i2c-tools
Version: 3.1.0 Version: 3.1.0
Release: 10%{?dist} Release: 11%{?dist}
Summary: A heterogeneous set of I2C tools for Linux Summary: A heterogeneous set of I2C tools for Linux
Group: Applications/System Group: Applications/System
License: GPLv2+ License: GPLv2+
@ -48,6 +48,12 @@ Group: Applications/System
%description python %description python
%package perl
Summary: i2c tools written in Perl
Group: Applications/System
%description perl
%prep %prep
%setup -q %setup -q
@ -95,12 +101,12 @@ done
%doc CHANGES COPYING README %doc CHANGES COPYING README
%config(noreplace) %{_sysconfdir}/modprobe.d/i2c-dev.conf %config(noreplace) %{_sysconfdir}/modprobe.d/i2c-dev.conf
%config(noreplace) %{_sysconfdir}/udev/makedev.d/99-i2c-dev.nodes %config(noreplace) %{_sysconfdir}/udev/makedev.d/99-i2c-dev.nodes
%{_bindir}/*
%{_sbindir}/* %{_sbindir}/*
%{_mandir}/man1/decode-*.1.gz
%exclude %{_sbindir}/eepro* %exclude %{_sbindir}/eepro*
%exclude %{_sbindir}/i2c-stub*
%{_mandir}/man8/*.8.gz %{_mandir}/man8/*.8.gz
%exclude %{_mandir}/man8/eepro* %exclude %{_mandir}/man8/eepro*
%exclude %{_mandir}/man8/i2c-stub-from-dump.8.gz
%files eepromer %files eepromer
%doc eepromer/README* %doc eepromer/README*
@ -113,9 +119,17 @@ done
#/usr/lib64/python2.7/site-packages/smbus.so #/usr/lib64/python2.7/site-packages/smbus.so
%{python_sitearch}/* %{python_sitearch}/*
%files perl
%{_bindir}/decode-*
%{_sbindir}/i2c-stub*
%{_mandir}/man1/decode-*.1.gz
%{_mandir}/man8/i2c-stub-from-dump.8.gz
%changelog %changelog
* Wed Oct 9 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.1.0-11
- Split out perl tools to a separate subpackage
* Fri Oct 04 2013 Jaromir Capik <jcapik@redhat.com> - 3.1.0-10 * Fri Oct 04 2013 Jaromir Capik <jcapik@redhat.com> - 3.1.0-10
- Making the decode-* man pages installable with Makefile - Making the decode-* man pages installable with Makefile