Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2017-07-21 22:35:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libftdi1" Fri Jul 21 22:35:48 2017 rev:15 rq:509762 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes 2017-02-25 00:49:20.379159634 +0100 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2017-07-21 22:35:49.311644789 +0200 @@ -1,0 +2,5 @@ +Thu Jul 6 18:17:15 UTC 2017 - [email protected] + +- Minor package cleanup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libftdi1.spec ++++++ --- /var/tmp/diff_new_pack.5p5ckV/_old 2017-07-21 22:35:49.887563547 +0200 +++ /var/tmp/diff_new_pack.5p5ckV/_new 2017-07-21 22:35:49.891562982 +0200 @@ -16,6 +16,9 @@ # +%define sover -2 +%define libname %{name}%{sover} + Name: libftdi1 Version: 1.3 Release: 0 @@ -44,10 +47,19 @@ Library to program and control the FTDI USB controller. This library is used by many programs accessing FTDI USB-to-RS232 converters. +%package -n %{libname} +Summary: Library to program and control the FTDI USB controller +Group: System/Libraries + +%description -n %{libname} +Library to program and control the FTDI USB controller. +This library is used by many programs accessing FTDI USB-to-RS232 converters. + + %package binding-python Summary: Python binding for libftdi Group: Development/Languages/Python -Requires: libftdi1 = %{version} +Requires: %{libname} = %{version} Requires: swig %description binding-python @@ -56,13 +68,13 @@ This package provides the python binding for libftdi. -%package -n libftdi1-devel +%package devel Summary: Header files and static libraries for libftdi Group: Development/Libraries/C and C++ -Requires: libftdi1 = %{version} +Requires: %{libname} = %{version} Requires: libusb-1_0-devel -%description -n libftdi1-devel +%description devel Header files and static libraries for libftdi. This library is used by many programs accessing FTDI USB-to-RS232 converters. @@ -82,10 +94,10 @@ find %{buildroot} -type f -name "*.a" -delete -print find %{buildroot} -type f -name "*.la" -delete -print -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files +%files -n %{libname} %defattr(-,root,root) %doc AUTHORS COPYING* LICENSE README %{_libdir}/libftdi*.so.* @@ -93,17 +105,18 @@ %files binding-python %defattr(-,root,root) %doc python/examples/*.py -%{python_sitearch}/* +%{python_sitearch}/_ftdi1.so +%{python_sitearch}/ftdi1.py -%files -n libftdi1-devel +%files devel %defattr(-,root,root) %doc ftdi_eeprom/example.conf %{_bindir}/libftdi*-config %{_bindir}/ftdi_eeprom %{_includedir}/%{name} %{_libdir}/libftdi*.so -%{_libdir}/pkgconfig/*.pc +%{_libdir}/pkgconfig/libftdi*.pc %{_libdir}/cmake/%{name} -%{_mandir}/man3/* +%{_mandir}/man3/*%{ext_man} %changelog
