This commit is contained in:
Your Name 2025-02-21 14:49:12 +00:00
parent 242f808056
commit 31f068c30f
2 changed files with 8 additions and 4 deletions

View file

@ -1,2 +1,2 @@
sources:
dtc-1.7.0.tar.xz: 19a95204dd787b4809886db15655082cb28718e9
dtc-1.7.2.tar.gz: 8a4e9432aec9d81a48a57f6afd685f9cfb5f0bea

View file

@ -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}