From cf03ca8cc2a86a4c686cea0edab983c4f179d99128e1e9e2f7471db60a55f47b Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 12 Aug 2007 09:47:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dtc?expand=0&rev=3 --- dtc-1.0.0.tar.bz2 | 3 +++ dtc-17.tar.gz | 3 --- dtc.changes | 6 ++++++ dtc.spec | 17 +++++++++++------ dtc.truncated_property.patch | 25 +++++++++++++++++++++++++ 5 files changed, 45 insertions(+), 9 deletions(-) create mode 100644 dtc-1.0.0.tar.bz2 delete mode 100644 dtc-17.tar.gz create mode 100644 dtc.truncated_property.patch diff --git a/dtc-1.0.0.tar.bz2 b/dtc-1.0.0.tar.bz2 new file mode 100644 index 0000000..94747cd --- /dev/null +++ b/dtc-1.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9081fad5614701509786454dfe124bfec6fac4d371ed92e5d760810d13eb5543 +size 57464 diff --git a/dtc-17.tar.gz b/dtc-17.tar.gz deleted file mode 100644 index 941bbe0..0000000 --- a/dtc-17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:627127accbe7d55f1cd98700455499c299ed27cb5a3f49ab94cea84d16b9ed93 -size 57915 diff --git a/dtc.changes b/dtc.changes index 5294319..375e58e 100644 --- a/dtc.changes +++ b/dtc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 10 23:09:22 CEST 2007 - olh@suse.de + +- update to 1.0.0 final + - first official release + ------------------------------------------------------------------- Mon Jun 18 18:14:47 CEST 2007 - olh@suse.de diff --git a/dtc.spec b/dtc.spec index 68ec0e6..49f6c14 100644 --- a/dtc.spec +++ b/dtc.spec @@ -1,5 +1,5 @@ # -# spec file for package dtc (Version 17) +# spec file for package dtc (Version 1.0.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,14 +11,15 @@ Name: dtc URL: http://dtc.ozlabs.org/ -Version: 17 -Release: 18 +Version: 1.0.0 +Release: 1 Buildrequires: bison flex Summary: device-tree compiler -License: GNU General Public License (GPL) +License: GPL v2 or later Group: Development/Tools/Building BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: dtc-%{version}.tar.gz +Source: dtc-%{version}.tar.bz2 +Patch: dtc.truncated_property.patch %description PowerPC kernels are moving towards requiring a small Open @@ -36,7 +37,8 @@ Authors: David Gibson %prep -%setup -q +%setup -q -n dtc +%patch -p1 %build make CFLAGS="$RPM_OPT_FLAGS" @@ -53,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT /usr/bin/* %changelog +* Fri Aug 10 2007 - olh@suse.de +- update to 1.0.0 final + - first official release * Mon Jun 18 2007 - olh@suse.de - update to current state dtc: Fix recognition of whitespace characters diff --git a/dtc.truncated_property.patch b/dtc.truncated_property.patch new file mode 100644 index 0000000..4c166e0 --- /dev/null +++ b/dtc.truncated_property.patch @@ -0,0 +1,25 @@ +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(); + }