Merge branch 'master' into epel8

epel8
Leigh Scott 5 years ago
commit b030a548d4

@ -11,7 +11,7 @@ Source0: http://www.intra2net.com/en/developer/%{name}/download/%{name}1-%{versi
# This has been reported to the mailing list
Patch0: libftdi-cmake_swig.patch
BuildRequires: cmake gcc-c++
BuildRequires: cmake3 gcc-c++
BuildRequires: doxygen
BuildRequires: boost-devel
BuildRequires: libconfuse-devel
@ -30,7 +30,6 @@ FT232BM and FT245BM type chips including the popular bitbang mode.
Summary: Header files and static libraries for libftdi
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python3-%{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
Header files and static libraries for libftdi
@ -71,11 +70,11 @@ sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules
%build
export CMAKE_PREFIX_PATH=/usr
export CMAKE_PREFIX_PATH=%{_prefix}
mkdir build-py3 && pushd build-py3
%{cmake} -DPython_ADDITIONAL_VERSIONS=%{python3_version} ..
%make_build %{?_smp_mflags}
%{cmake3} -DPython_ADDITIONAL_VERSIONS=%{python3_version} ..
%make_build
popd
# Fix python sheband lines

Loading…
Cancel
Save