summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Chauvet <kwizart@gmail.com>2014-07-22 13:46:35 +0200
committerNicolas Chauvet <kwizart@gmail.com>2014-07-22 13:46:41 +0200
commitf1fcffb72f222075eeb8587114c5051c6e8b0cfc (patch)
treed32ddd894401ae5f19bcf197c0f1663860180e29
parent64ffa9b84d5c77badc9daa0db6a8986b009f09d7 (diff)
downloaduboot-tools-for-fedora.tar.gz
uboot-tools-for-fedora.tar.xz
uboot-tools-for-fedora.zip
Split extras bootloader imagesfor-fedora
Whereas it worth to have commonly available boards to be built from the same spec file, some of theses boards don't need to have their bootloader provided in the same media as the OS. In the Tegra case SPI or eMMC boot area are often used.
-rw-r--r--uboot-tools.spec24
1 files changed, 18 insertions, 6 deletions
diff --git a/uboot-tools.spec b/uboot-tools.spec
index bf99ea1..7576657 100644
--- a/uboot-tools.spec
+++ b/uboot-tools.spec
@@ -89,16 +89,12 @@ Obsoletes: uboot-panda < %{version}-%{release}
Provides: uboot-panda = %{version}-%{release}
Obsoletes: uboot-origen < %{version}-%{release}
Provides: uboot-origen = %{version}-%{release}
-Obsoletes: uboot-paz00 < %{version}-%{release}
-Provides: uboot-paz00 = %{version}-%{release}
Obsoletes: uboot-smdkv310 < %{version}-%{release}
Provides: uboot-smdkv310 = %{version}-%{release}
Obsoletes: uboot-snow < %{version}-%{release}
Provides: uboot-snow = %{version}-%{release}
Obsoletes: uboot-snowball < %{version}-%{release}
Provides: uboot-snowball = %{version}-%{release}
-Obsoletes: uboot-trimslice < %{version}-%{release}
-Provides: uboot-trimslice = %{version}-%{release}
Obsoletes: uboot-uevm < %{version}-%{release}
Provides: uboot-uevm = %{version}-%{release}
Obsoletes: uboot-wandboard_dl < %{version}-%{release}
@@ -111,6 +107,19 @@ Provides: uboot-wandboard_solo = %{version}-%{release}
%description -n uboot-images-armv7
u-boot bootloader binaries for armv7 boards
+
+%package -n uboot-images-armv7-extras
+Summary: u-boot bootloader images for armv7 boards
+Requires: uboot-tools
+
+Obsoletes: uboot-paz00 < %{version}-%{release}
+Provides: uboot-paz00 = %{version}-%{release}
+Obsoletes: uboot-trimslice < %{version}-%{release}
+Provides: uboot-trimslice = %{version}-%{release}
+
+%description -n uboot-images-armv7-extras
+u-boot bootloader binaries for armv7 boards extras package
+
%endif
%prep
@@ -392,17 +401,20 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/uboot/Cubietruck/
%{_datadir}/uboot/highbank/
%{_datadir}/uboot/panda/
-%{_datadir}/uboot/paz00/
%{_datadir}/uboot/origen/
%{_datadir}/uboot/snow/
%{_datadir}/uboot/snowball/
%{_datadir}/uboot/smdkv310/
-%{_datadir}/uboot/trimslice/
%{_datadir}/uboot/wandboard_dl/
%{_datadir}/uboot/wandboard_quad/
%{_datadir}/uboot/wandboard_solo/
%{_datadir}/uboot/udoo_quad/
%{_datadir}/uboot/uevm/
+
+%files -n uboot-images-armv7-extras
+%defattr(-,root,root,-)
+%{_datadir}/uboot/paz00/
+%{_datadir}/uboot/trimslice/
%endif
%changelog