diff --git a/dtc-1.4.7.tar.xz b/dtc-1.4.7.tar.xz deleted file mode 100644 index 591178e84dbb8d12e91b8fdd35658513c70056f0..0000000000000000000000000000000000000000 Binary files a/dtc-1.4.7.tar.xz and /dev/null differ diff --git a/dtc.spec b/dtc.spec index 729fa10de7bf2793767a20223e7bcb10009d8629..95c0c77efaacdb3281cfb340eae5a35dfbf1af30 100644 --- a/dtc.spec +++ b/dtc.spec @@ -1,13 +1,15 @@ +%define _wrong_version_format_terminate_build 0 + Name: dtc -Version: 1.4.7 -Release: 3 +Version: 1.6.0 +Release: 1 Summary: Device tree compiler License: GPLv2+ URL: https://devicetree.org/ -Source0: https://ftp.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz +Source0: https://ftp.kernel.org/pub/software/utils/%{name}/v%{version}.tar.xz BuildRequires: gcc make git flex bison swig -BuildRequires: python2-devel python2-setuptools +BuildRequires: python3-devel python3-setuptools Provides: libfdt Obsoletes: libfdt @@ -29,13 +31,13 @@ Obsoletes: libfdt-static libfdt-devel %description devel This package provides development files for dtc. -%package -n python2-libfdt -Summary: Python 2 bindings for device tree library -%{?python_provide:%python_provide python2-libfdt} +%package -n python3-libfdt +Summary: Python 3 bindings for device tree library +%{?python_provide:%python_provide python3-libfdt} Requires: %{name} = %{version}-%{release} -%description -n python2-libfdt -This package provides python2 bindings for libfdt +%description -n python3-libfdt +This package provides python3 bindings for libfdt %package_help @@ -46,7 +48,8 @@ This package provides python2 bindings for libfdt %make_build %install -%make_install SETUP_PREFIX=$RPM_BUILD_ROOT/usr LIBDIR=%{_libdir} PREFIX=/usr +make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \ + LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} V=1 %pre @@ -68,13 +71,19 @@ This package provides python2 bindings for libfdt %{_includedir}/* %{_libdir}/libfdt.a -%files -n python2-libfdt -%{python2_sitearch}/* +%files -n python3-libfdt +%{python3_sitearch}/* %files help %doc Documentation/manual.txt %changelog +* Thu Apr 23 2020 chengquan3 - 1.4.7-3.h1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:Update software to v1.6.0 + * Tue Jan 7 2020 JeanLeo - 1.4.7-3 - Type:bugfix - ID:NA diff --git a/v1.6.0.tar.xz b/v1.6.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..9ccb2649ed732f5ca5566f88a8ca5d0c2b57d1f6 Binary files /dev/null and b/v1.6.0.tar.xz differ