OBS User unknown 2008-01-24 20:22:04 +00:00 committed by Git OBS Bridge
parent cf03ca8cc2
commit 0c2a0b5f8c
5 changed files with 23 additions and 39 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9081fad5614701509786454dfe124bfec6fac4d371ed92e5d760810d13eb5543
size 57464

3
dtc-1.1.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a5ccd1dbb012fee852b6fe2281511f76a1132a93ffa2ff3ad0119645ba28402
size 74224

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 24 19:01:10 CET 2008 - olh@suse.de
- update to 1.1.0 final
clearify license issues, run testsuite
-------------------------------------------------------------------
Fri Aug 10 23:09:22 CEST 2007 - olh@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package dtc (Version 1.0.0)
# spec file for package dtc (Version 1.1.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -10,16 +10,15 @@
Name: dtc
URL: http://dtc.ozlabs.org/
Version: 1.0.0
Url: http://dtc.ozlabs.org/
Version: 1.1.0
Release: 1
Buildrequires: bison flex
BuildRequires: bison flex
Summary: device-tree compiler
License: GPL v2 or later
Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: dtc-%{version}.tar.bz2
Patch: dtc.truncated_property.patch
%description
PowerPC kernels are moving towards requiring a small Open
@ -38,10 +37,10 @@ Authors:
%prep
%setup -q -n dtc
%patch -p1
%build
make CFLAGS="$RPM_OPT_FLAGS"
make CFLAGS="$RPM_OPT_FLAGS" check
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
@ -52,13 +51,17 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README.license Documentation/manual.txt
/usr/bin/*
%changelog
* Fri Aug 10 2007 - olh@suse.de
* Thu Jan 24 2008 olh@suse.de
- update to 1.1.0 final
clearify license issues, run testsuite
* Fri Aug 10 2007 olh@suse.de
- update to 1.0.0 final
- first official release
* Mon Jun 18 2007 - olh@suse.de
* Mon Jun 18 2007 olh@suse.de
- update to current state
dtc: Fix recognition of whitespace characters
Implement the -R option and add a -S option.
@ -67,8 +70,8 @@ rm -rf $RPM_BUILD_ROOT
Assemble the blob in memory before writing it out.
Fix the -S to modify the totalsize properly.
dtc: parse NOP in dtb input
* Thu Mar 29 2007 - olh@suse.de
* Thu Mar 29 2007 olh@suse.de
- add flex and bison to buildrequires
fix endian bug in ftdump, add C style includes
* Fri Mar 23 2007 - olh@suse.de
* Fri Mar 23 2007 olh@suse.de
- initial package to build PS3 kernel

View File

@ -1,25 +0,0 @@
tests/truncated_property.c:45: warning: 'err' is used uninitialized in this function
---
tests/truncated_property.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/tests/truncated_property.c
+++ b/tests/truncated_property.c
@@ -33,7 +33,6 @@ int main(int argc, char *argv[])
{
void *fdt = &_truncated_property;
const void *prop;
- int err;
int len;
test_init(argc, argv);
@@ -43,7 +42,7 @@ int main(int argc, char *argv[])
FAIL("fdt_getprop() succeeded on truncated property");
if (len != -FDT_ERR_BADSTRUCTURE)
FAIL("fdt_getprop() failed with \"%s\" instead of \"%s\"",
- fdt_strerror(err), fdt_strerror(-FDT_ERR_BADSTRUCTURE));
+ fdt_strerror(len), fdt_strerror(-FDT_ERR_BADSTRUCTURE));
PASS();
}