Accepting request 179627 from Base:System

- rename ftdump to dtc-ftdump to avoid conflict with ft2demos 

- Recent Git versions of dtc install libfdt_env.h, so that
  QEMU 1.6.0 will require this file. Install it for compatibility.

- Use %makeinstall in place of %make_install, for SLE_11_SP2

OBS-URL: https://build.opensuse.org/request/show/179627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dtc?expand=0&rev=20
This commit is contained in:
Stephan Kulow 2013-06-19 12:42:55 +00:00 committed by Git OBS Bridge
commit a233ce345a
2 changed files with 27 additions and 6 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Jun 19 06:58:23 UTC 2013 - dmueller@suse.com
- rename ftdump to dtc-ftdump to avoid conflict with ft2demos
-------------------------------------------------------------------
Tue Jun 18 00:58:27 UTC 2013 - afaerber@suse.de
- Recent Git versions of dtc install libfdt_env.h, so that
QEMU 1.6.0 will require this file. Install it for compatibility.
-------------------------------------------------------------------
Thu May 24 12:00:09 UTC 2013 - afaerber@suse.de
- Use %makeinstall in place of %make_install, for SLE_11_SP2
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package dtc
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,12 +16,12 @@
#
Name: dtc
Url: http://git.jdl.com/gitweb/?p=dtc.git;a=summary
Version: 1.3.0
Release: 1
BuildRequires: bison flex
Release: 0
BuildRequires: bison
BuildRequires: flex
Summary: Device-tree compiler
License: GPL-2.0+
Group: Development/Tools/Building
@ -69,13 +69,18 @@ This package provides development files for libfdt
make %{?_smp_mflags}
%install
%make_install PREFIX=/usr LIBDIR=%{_libdir}
%makeinstall PREFIX=/usr LIBDIR=%{_libdir}
install -m 644 libfdt/libfdt_env.h $RPM_BUILD_ROOT/%{_includedir}
mv %{buildroot}/%{_bindir}/ftdump %{buildroot}/%{_bindir}/dtc-ftdump
rm -f %{buildroot}/%{_libdir}/*.a
%files
%defattr(-,root,root)
%doc README.license Documentation/manual.txt
%{_bindir}/*
%{_bindir}/convert-dtsv0
%{_bindir}/dtc
%{_bindir}/dtdiff
%{_bindir}/dtc-ftdump
%files -n libfdt1
%defattr(-,root,root,-)