import dtc-1.6.0-1.el8

This commit is contained in:
CentOS Sources 2020-11-03 07:13:20 -05:00 committed by Andrew Lukoshko
parent 717cf370f9
commit cfcb18f59d
3 changed files with 19 additions and 12 deletions

View File

@ -1 +1 @@
65f5d8ec5e15137d1db05049568ecea05217a94d SOURCES/v1.4.6.tar.gz
896684186ac790f124d157508e9a7bc194b0fc9c SOURCES/v1.6.0.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v1.4.6.tar.gz
SOURCES/v1.6.0.tar.gz

View File

@ -1,17 +1,17 @@
Name: dtc
Version: 1.4.6
Release: 1%{?dist}
Summary: Device Tree Compiler
Name: dtc
Version: 1.6.0
Release: 1%{?dist}
Summary: Device Tree Compiler
Group: Development/Tools
License: GPLv2+
URL: https://devicetree.org/
Source: https://github.com/dgibson/dtc/archive/v%{version}.tar.gz
License: GPLv2+
URL: https://devicetree.org/
Source: https://github.com/dgibson/dtc/archive/v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc make
BuildRequires: flex, bison
BuildRequires: flex bison
%description
Devicetree is a data structure for describing hardware. Rather than hard coding
@ -48,7 +48,8 @@ make %{?_smp_mflags} V=1 CC="gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS" NO_PYTHON=1
make install DESTDIR=$RPM_BUILD_ROOT SETUP_PREFIX=$RPM_BUILD_ROOT/usr PREFIX=/usr LIBDIR=%{_libdir} NO_PYTHON=1
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a
# we don't want or need ftdump, so drop
# we don't want or need ftdump and it conflicts with freetype-demos, so drop
# it (rhbz 797805)
rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump
%post -n libfdt -p /sbin/ldconfig
@ -76,6 +77,11 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/*
%changelog
* Fri Apr 17 2020 Miroslav Rezanina <mrezanin@redhat.com> - 1.6.0-1
- Use 1.6.0 version [bz#1679676]
- Resolves: bz#1679676
(dtc changes blocked until gating tests are added)
* Thu Aug 09 2018 Miroslav Rezanina <mrezanin@redhat.com> - 1.4.6-1
- Updated for RHEL 8 [bz#1518440]
- Resolves: bz#1518440
@ -91,3 +97,4 @@ rm -rf $RPM_BUILD_ROOT
* Fri Jul 25 2014 Miroslav Rezanina <mrezanin@redhat.com> - 1.4.0-1
- Initial version