Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2018-05-16 11:25:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libftdi1" Wed May 16 11:25:53 2018 rev:17 rq:606794 version:1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes 2017-11-19 11:09:23.515761200 +0100 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2018-05-16 11:25:57.362417742 +0200 @@ -1,0 +2,12 @@ +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.JFTBHy/_old 2018-05-16 11:25:58.174388240 +0200 +++ /var/tmp/diff_new_pack.JFTBHy/_new 2018-05-16 11:25:58.178388095 +0200 @@ -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,13 @@ %prep %setup -q +%autopatch -p1 %build -%cmake +%cmake \ + -DDOCUMENTATION=ON \ + -DFTDI_EEPROM=ON \ + -DPYTHON_BINDINGS=ON %make_jobs %install @@ -109,10 +115,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)
