Hello community, here is the log from the commit of package libftdi1 for openSUSE:Leap:15.2 checked in at 2020-01-30 14:49:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/libftdi1 (Old) and /work/SRC/openSUSE:Leap:15.2/.libftdi1.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libftdi1" Thu Jan 30 14:49:16 2020 rev:17 rq:755587 version:1.4 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/libftdi1/libftdi1.changes 2020-01-15 15:20:59.618428293 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.libftdi1.new.26092/libftdi1.changes 2020-01-30 14:49:49.554884130 +0100 @@ -1,0 +2,17 @@ +Tue Jun 12 17:35:10 UTC 2018 - [email protected] + +- Fix Leap 42.3 build - do not apply cmake 3.11 compat patch. + +------------------------------------------------------------------- +Fri May 11 14:25:33 UTC 2018 - [email protected] + +- Smash libftdi-cmake.patch to make it work with cmake-3.11 + * Not to upstream the changes I did are pretty ugly + +------------------------------------------------------------------- +Sat Apr 7 20:10:15 UTC 2018 - [email protected] + +- Added patch libftdi-cmake.patch from upstream to make package + compatible with CMake 3.11 + +------------------------------------------------------------------- New: ---- libftdi-cmake.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libftdi1.spec ++++++ --- /var/tmp/diff_new_pack.2k88uw/_old 2020-01-30 14:49:49.834884279 +0100 +++ /var/tmp/diff_new_pack.2k88uw/_new 2020-01-30 14:49:49.834884279 +0100 @@ -1,7 +1,7 @@ # # spec file for package libftdi1 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,10 +22,12 @@ Version: 1.4 Release: 0 Summary: Library to program and control the FTDI USB controller -License: LGPL-2.1+ AND GPL-2.0-with-classpath-exception +License: LGPL-2.1-or-later AND GPL-2.0-with-classpath-exception Group: Hardware/Other -Url: http://www.intra2net.com/en/developer/libftdi +URL: http://www.intra2net.com/en/developer/libftdi Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM libftdi-cmake.patch -- CMake: move options to a dedicated file +Patch1: libftdi-cmake.patch BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc-c++ @@ -33,7 +35,7 @@ BuildRequires: libusb-1_0-devel BuildRequires: pkgconfig BuildRequires: swig -%if 0%{?suse_version} > 1325 +%if 0%{?suse_version} >= 1500 BuildRequires: libboost_headers-devel BuildRequires: python3-devel BuildRequires: python3-xml @@ -55,7 +57,7 @@ Library to program and control the FTDI USB controller. This library is used by many programs accessing FTDI USB-to-RS232 converters. -%if 0%{?suse_version} > 1325 +%if 0%{?suse_version} >= 1500 %package -n python3-%{name} Summary: Python 3 binding for libftdi1 Group: Development/Languages/Python @@ -91,9 +93,15 @@ %prep %setup -q +%if 0%{?suse_version} >= 01500 +%patch1 -p1 +%endif %build -%cmake +%cmake \ + -DDOCUMENTATION=ON \ + -DFTDI_EEPROM=ON \ + -DPYTHON_BINDINGS=ON %make_jobs %install @@ -109,10 +117,11 @@ %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} -%doc AUTHORS COPYING* LICENSE README +%license COPYING* LICENSE +%doc AUTHORS README %{_libdir}/libftdi*.so.* -%if 0%{?suse_version} > 1325 +%if 0%{?suse_version} >= 1500 %files -n python3-%{name} %doc python/examples/*.py %{python3_sitearch}/_ftdi1.so ++++++ libftdi-cmake.patch ++++++ ++++ 652 lines (skipped)
