Compare commits
No commits in common. "e32ac13f46bddcefadf99d33a58c60704359142d" and "768b55592d6559611ca5ca0e21ef33a0f8b2515c" have entirely different histories.
e32ac13f46
...
768b55592d
BIN
dtc-1.6.1.tar.xz
BIN
dtc-1.6.1.tar.xz
Binary file not shown.
41
dtc.spec
41
dtc.spec
@ -1,20 +1,18 @@
|
|||||||
%define _wrong_version_format_terminate_build 0
|
%define _wrong_version_format_terminate_build 0
|
||||||
|
|
||||||
Name: dtc
|
Name: dtc
|
||||||
Version: 1.6.1
|
Version: 1.6.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Device tree compiler
|
Summary: Device tree compiler
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://devicetree.org/
|
URL: https://devicetree.org/
|
||||||
Source0: https://www.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: gcc make git flex bison swig
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
Provides: libfdt
|
Provides: libfdt
|
||||||
Obsoletes: libfdt
|
Obsoletes: libfdt
|
||||||
|
|
||||||
Patch1: openEuler-add-secure-compile-option-in-Makefile.patch
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The devicetree is a data structure for describing hardware. Rather than hard coding
|
The devicetree is a data structure for describing hardware. Rather than hard coding
|
||||||
@ -53,9 +51,6 @@ This package provides python3 bindings for libfdt
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \
|
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \
|
||||||
LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} V=1
|
LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} V=1
|
||||||
|
|
||||||
%check
|
|
||||||
%make_build check
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -83,36 +78,6 @@ make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \
|
|||||||
%doc Documentation/manual.txt
|
%doc Documentation/manual.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu May 25 2023 fuanan <fuanan3@h-partners.com> - 1.6.1-3
|
|
||||||
- Type: bugfix
|
|
||||||
- ID: NA
|
|
||||||
- SUG: NA
|
|
||||||
- DESC: enable make check
|
|
||||||
|
|
||||||
* Wed Oct 26 2022 yanglongkang<yanglongkang@h-partners.com> - 1.6.1-2
|
|
||||||
- Type: bugfix
|
|
||||||
- ID: NA
|
|
||||||
- SUG: NA
|
|
||||||
- DESC: rebuild for next release
|
|
||||||
|
|
||||||
* Sat Nov 27 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 1.6.1-1
|
|
||||||
- Type:enhancement
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:update version to 1.6.1
|
|
||||||
|
|
||||||
* Sat Mar 20 2021 shenyangyang<shenyangyang4@huawei.com> - 1.6.0-3
|
|
||||||
- Type:enhancement
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:Add secure compile option in Makefile
|
|
||||||
|
|
||||||
* Wed Sep 9 2020 wangchen<wangchen137@huawei.com> - 1.6.0-2
|
|
||||||
- Type:enhancement
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:Modify the URL of Source0
|
|
||||||
|
|
||||||
* Thu Apr 23 2020 chengquan3<chengquan3@huawei.com> - 1.4.7-3.h1
|
* Thu Apr 23 2020 chengquan3<chengquan3@huawei.com> - 1.4.7-3.h1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
From 1c3f9fea2f808ae9eb481bc344ff589b42a106a7 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Yangyang Shen <shenyangyang4@huawei.com>
|
|
||||||
Date: Sat, 20 Mar 2021 16:40:13 +0800
|
|
||||||
Subject: [PATCH] openEuler add secure compile option in Makefile
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index f02aa19..a37a2db 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -20,6 +20,8 @@ CONFIG_LOCALVERSION =
|
|
||||||
# See libfdt_internal.h for details
|
|
||||||
ASSUME_MASK ?= 0
|
|
||||||
|
|
||||||
+EXTRA_CFLAGS += -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wl,-z,now -fPIE
|
|
||||||
+LDFLAGS += -Wl,-z,now -pie
|
|
||||||
CPPFLAGS = -I libfdt -I . -DFDT_ASSUME_MASK=$(ASSUME_MASK)
|
|
||||||
WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
|
|
||||||
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
|
|
||||||
--
|
|
||||||
2.23.0
|
|
||||||
|
|
||||||
BIN
v1.6.0.tar.xz
Normal file
BIN
v1.6.0.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user