diff --git a/.abf.yml b/.abf.yml index 0e4ff58..d3c7bfc 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - dtc-1.7.0.tar.xz: 19a95204dd787b4809886db15655082cb28718e9 + dtc-1.7.2.tar.gz: 8a4e9432aec9d81a48a57f6afd685f9cfb5f0bea diff --git a/dtc.spec b/dtc.spec index 3be173e..866cf82 100644 --- a/dtc.spec +++ b/dtc.spec @@ -5,12 +5,12 @@ Summary: Device Tree Compiler Name: dtc -Version: 1.7.0 +Version: 1.7.2 Release: 1 License: GPLv2+ Group: Development/Other -URL: http://devicetree.org/Device_Tree_Compiler -Source0: https://www.kernel.org/pub/software/utils/dtc/%{name}-%{version}.tar.xz +URL: https://www.devicetree.org +Source0: https://www.kernel.org/pub/software/utils/dtc/%{name}-%{version}.tar.gz BuildRequires: bison BuildRequires: flex BuildRequires: swig @@ -20,6 +20,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-wheel BuildRequires: python38-devel +BuildRequires: python38-setuptools %description The Device Tree Compiler generates flattened Open Firmware style device trees @@ -109,6 +110,9 @@ echo '#define DTC_VERSION "DTC %{version}"' > version_gen.h %endif %build +/usr/libexec/python3.8 -m venv . +. ./bin/activate + %set_build_flags export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}