Accepting request 83301 from home:jengelh:bl-d

- Remove redundant tags/sections from specfile
  (cf. packaging guidelines)
- Use %_smp_mflags for parallel build
- Implement baselibs config

OBS-URL: https://build.opensuse.org/request/show/83301
OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2011-09-20 07:50:44 +00:00 committed by Git OBS Bridge
parent 3ee97e7a7d
commit 51ca63271a
3 changed files with 12 additions and 4 deletions

2
baselibs.conf Normal file
View File

@ -0,0 +1,2 @@
libfdt1
libfdt1-devel

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
- Implement baselibs config
-------------------------------------------------------------------
Fri Jul 1 17:02:06 UTC 2011 - k0da@opensuse.org

View File

@ -27,6 +27,7 @@ License: GPLv2+
Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: dtc-%{version}.tar.bz2
Source2: baselibs.conf
Patch1: dtc-check.patch
Patch2: dtc-flattree.patch
Patch3: dtc-license.patch
@ -65,15 +66,12 @@ This package provides development files for libfdt
%patch3
%build
make
make %{?_smp_mflags}
%install
%make_install PREFIX=/usr LIBDIR=%{_libdir}
rm -f %{buildroot}/%{_libdir}/*.a
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README.license Documentation/manual.txt