- update to 1.5.1:
* Numerous assorted bugfixes * Add a new fdt_create_with_flags() function, and a FDT_CREATE_FLAG_NO_NAME_DEDUP flag which improves speed at the cost of tree size by not deduplicating property names in the strings section * Run tests against shared library, so it will catch the common mistake of not adding new symbols to the versioning script * Add a number of missing symbols to versioning script * Use Python3 by default for pylibfdt * New fdt_append_addrrange() function in libfdt - remove dtc-license.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=39
This commit is contained in:
parent
c9dc55b38a
commit
495c1b9795
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d64835db0272df0321f27418280cbb8ab19c0d392a9e5caf256b872ff1b0e77f
|
|
||||||
size 195170
|
|
3
dtc-1.5.1.tar.gz
Normal file
3
dtc-1.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:db4a3204847139fe3ab9843207096a65b896c4d8b63da282eb49421d1f1109b8
|
||||||
|
size 195172
|
@ -1,120 +0,0 @@
|
|||||||
Index: GPL
|
|
||||||
===================================================================
|
|
||||||
--- GPL.orig
|
|
||||||
+++ GPL
|
|
||||||
@@ -1,12 +1,12 @@
|
|
||||||
- GNU GENERAL PUBLIC LICENSE
|
|
||||||
- Version 2, June 1991
|
|
||||||
+ GNU GENERAL PUBLIC LICENSE
|
|
||||||
+ Version 2, June 1991
|
|
||||||
|
|
||||||
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
|
||||||
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
|
||||||
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
- Preamble
|
|
||||||
+ Preamble
|
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
|
||||||
@@ -15,7 +15,7 @@ software--to make sure the software is f
|
|
||||||
General Public License applies to most of the Free Software
|
|
||||||
Foundation's software and to any other program whose authors commit to
|
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
|
||||||
-the GNU Library General Public License instead.) You can apply it to
|
|
||||||
+the GNU Lesser General Public License instead.) You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
@@ -55,8 +55,8 @@ patent must be licensed for everyone's f
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
-
|
|
||||||
- GNU GENERAL PUBLIC LICENSE
|
|
||||||
+
|
|
||||||
+ GNU GENERAL PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
|
||||||
@@ -110,7 +110,7 @@ above, provided that you also meet all o
|
|
||||||
License. (Exception: if the Program itself is interactive but
|
|
||||||
does not normally print such an announcement, your work based on
|
|
||||||
the Program is not required to print an announcement.)
|
|
||||||
-
|
|
||||||
+
|
|
||||||
These requirements apply to the modified work as a whole. If
|
|
||||||
identifiable sections of that work are not derived from the Program,
|
|
||||||
and can be reasonably considered independent and separate works in
|
|
||||||
@@ -168,7 +168,7 @@ access to copy from a designated place,
|
|
||||||
access to copy the source code from the same place counts as
|
|
||||||
distribution of the source code, even though third parties are not
|
|
||||||
compelled to copy the source along with the object code.
|
|
||||||
-
|
|
||||||
+
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
|
||||||
except as expressly provided under this License. Any attempt
|
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
|
||||||
@@ -225,7 +225,7 @@ impose that choice.
|
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
|
||||||
be a consequence of the rest of this License.
|
|
||||||
-
|
|
||||||
+
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
|
||||||
original copyright holder who places the Program under this License
|
|
||||||
@@ -255,7 +255,7 @@ make exceptions for this. Our decision
|
|
||||||
of preserving the free status of all derivatives of our free software and
|
|
||||||
of promoting the sharing and reuse of software generally.
|
|
||||||
|
|
||||||
- NO WARRANTY
|
|
||||||
+ NO WARRANTY
|
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
||||||
@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE
|
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
|
||||||
|
|
||||||
- END OF TERMS AND CONDITIONS
|
|
||||||
-
|
|
||||||
- How to Apply These Terms to Your New Programs
|
|
||||||
+ END OF TERMS AND CONDITIONS
|
|
||||||
+
|
|
||||||
+ How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
@@ -303,17 +303,16 @@ the "copyright" line and a pointer to wh
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
- You should have received a copy of the GNU General Public License
|
|
||||||
- along with this program; if not, write to the Free Software
|
|
||||||
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
-
|
|
||||||
+ You should have received a copy of the GNU General Public License along
|
|
||||||
+ with this program; if not, write to the Free Software Foundation, Inc.,
|
|
||||||
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
|
||||||
when it starts in an interactive mode:
|
|
||||||
|
|
||||||
- Gnomovision version 69, Copyright (C) year name of author
|
|
||||||
+ Gnomovision version 69, Copyright (C) year name of author
|
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
@@ -336,5 +335,5 @@ necessary. Here is a sample; alter the
|
|
||||||
This General Public License does not permit incorporating your program into
|
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
|
||||||
consider it more useful to permit linking proprietary applications with the
|
|
||||||
-library. If this is what you want to do, use the GNU Library General
|
|
||||||
+library. If this is what you want to do, use the GNU Lesser General
|
|
||||||
Public License instead of this License.
|
|
16
dtc.changes
16
dtc.changes
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 13:23:32 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.5.1:
|
||||||
|
* Numerous assorted bugfixes
|
||||||
|
* Add a new fdt_create_with_flags() function, and a
|
||||||
|
FDT_CREATE_FLAG_NO_NAME_DEDUP flag which improves speed at the
|
||||||
|
cost of tree size by not deduplicating property names in the
|
||||||
|
strings section
|
||||||
|
* Run tests against shared library, so it will catch the common
|
||||||
|
mistake of not adding new symbols to the versioning script
|
||||||
|
* Add a number of missing symbols to versioning script
|
||||||
|
* Use Python3 by default for pylibfdt
|
||||||
|
* New fdt_append_addrrange() function in libfdt
|
||||||
|
- remove dtc-license.patch (upstream)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 26 17:20:31 UTC 2019 - Andreas Färber <afaerber@suse.de>
|
Sat Oct 26 17:20:31 UTC 2019 - Andreas Färber <afaerber@suse.de>
|
||||||
|
|
||||||
|
19
dtc.spec
19
dtc.spec
@ -18,19 +18,16 @@
|
|||||||
|
|
||||||
%define sover 1
|
%define sover 1
|
||||||
Name: dtc
|
Name: dtc
|
||||||
Version: 1.5.0
|
Version: 1.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Device-tree compiler
|
Summary: Device-tree compiler
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Tools/Building
|
URL: https://github.com/dgibson/dtc
|
||||||
Url: https://github.com/dgibson/dtc
|
|
||||||
Source0: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-%{version}.tar.gz
|
Source0: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch3: dtc-license.patch
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: libyaml-devel
|
BuildRequires: libyaml-devel
|
||||||
BuildRequires: valgrind-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PowerPC kernels are moving towards requiring a small Open
|
PowerPC kernels are moving towards requiring a small Open
|
||||||
@ -43,7 +40,6 @@ available via a git tree: git://ozlabs.org/srv/projects/dtc/dtc.git
|
|||||||
|
|
||||||
%package -n libfdt%{sover}
|
%package -n libfdt%{sover}
|
||||||
Summary: Device tree library
|
Summary: Device tree library
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
|
|
||||||
%description -n libfdt%{sover}
|
%description -n libfdt%{sover}
|
||||||
libfdt is a library to process Open Firmware style device trees on various
|
libfdt is a library to process Open Firmware style device trees on various
|
||||||
@ -51,7 +47,6 @@ architectures.
|
|||||||
|
|
||||||
%package -n libfdt-devel
|
%package -n libfdt-devel
|
||||||
Summary: Development headers for device tree library
|
Summary: Development headers for device tree library
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: libfdt%{sover} = %{version}-%{release}
|
Requires: libfdt%{sover} = %{version}-%{release}
|
||||||
# Provide previously used incorrectly named devel package
|
# Provide previously used incorrectly named devel package
|
||||||
Provides: libfdt1-devel = %{version}-%{release}
|
Provides: libfdt1-devel = %{version}-%{release}
|
||||||
@ -62,7 +57,6 @@ This package provides development files for libfdt
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch3
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
@ -76,8 +70,8 @@ rm -f %{buildroot}/%{_libdir}/*.a
|
|||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license README.license
|
||||||
%doc README.license Documentation/manual.txt
|
%doc Documentation/manual.txt
|
||||||
%{_bindir}/convert-dtsv0
|
%{_bindir}/convert-dtsv0
|
||||||
%{_bindir}/dtc
|
%{_bindir}/dtc
|
||||||
%{_bindir}/dtdiff
|
%{_bindir}/dtdiff
|
||||||
@ -90,13 +84,10 @@ make %{?_smp_mflags} check
|
|||||||
%postun -n libfdt%{sover} -p /sbin/ldconfig
|
%postun -n libfdt%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libfdt%{sover}
|
%files -n libfdt%{sover}
|
||||||
%defattr(-,root,root,-)
|
%{_libdir}/libfdt-1.5.0.so
|
||||||
%doc GPL
|
|
||||||
%{_libdir}/libfdt-%{version}.so
|
|
||||||
%{_libdir}/libfdt.so.*
|
%{_libdir}/libfdt.so.*
|
||||||
|
|
||||||
%files -n libfdt-devel
|
%files -n libfdt-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libfdt.so
|
%{_libdir}/libfdt.so
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user