This fixes below badness by rpmlint in spec file.
E: summary-not-capitalized (Badness: 63)
E: non-standard-group (Badness: 200)
E: invalid-license (Badness: 200)
E: dir-or-file-in-tmp (Badness: 200)
Change-Id: I05df62d0e10e378ee80dfb76ce80504de66206c6
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
-Summary: bootloader for Embedded boards based on ARM processor
+Summary: Bootloader for Embedded boards based on ARM processor
Version: 2010.12
Release: 0
Version: 2010.12
Release: 0
-Group: System Environment/Kernel
-License: GPL
+Group: System/Kernel
+License: GPL-2.0+
ExclusiveArch: %{arm}
URL: http://sourceforge.net/projects/u-boot
Source0: %{name}-%{version}.tar.bz2
ExclusiveArch: %{arm}
URL: http://sourceforge.net/projects/u-boot
Source0: %{name}-%{version}.tar.bz2
%package -n u-boot-tm1
Summary: A bootloader for Embedded system
%package -n u-boot-tm1
Summary: A bootloader for Embedded system
-Group: System Environment/Kernel
%description -n u-boot-tm1
A boot loader for embedded systems.
%description -n u-boot-tm1
A boot loader for embedded systems.
rm -rf %{buildroot}
# u-boot installation
rm -rf %{buildroot}
# u-boot installation
-mkdir -p %{buildroot}/var/tmp/u-boot
-install -d %{buildroot}/var/tmp/u-boot
-install -m 755 u-boot.bin %{buildroot}/var/tmp/u-boot
-install -m 755 u-boot-mmc.bin %{buildroot}/var/tmp/u-boot
+mkdir -p %{buildroot}/boot/u-boot
+install -d %{buildroot}/boot/u-boot
+install -m 755 u-boot.bin %{buildroot}/boot/u-boot
+install -m 755 u-boot-mmc.bin %{buildroot}/boot/u-boot
%clean
%files -n u-boot-tm1
%manifest u-boot-tm1.manifest
%defattr(-,root,root,-)
%clean
%files -n u-boot-tm1
%manifest u-boot-tm1.manifest
%defattr(-,root,root,-)