diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-08-10 17:14:08 +0900 |
---|---|---|
committer | Yu Jiung <jiung.yu@samsung.com> | 2016-08-17 16:04:36 +0900 |
commit | 1a23c1e68d46c2f9b2ccb4b7cdd61fadc44a7530 (patch) | |
tree | 24ac323fdde3e91ec4256f399c692ce739f3ef8b /packaging/toybox.spec | |
parent | c434a5c49ff1c00c98c8728adb87b53351dcdb2c (diff) | |
download | toybox-1a23c1e68d46c2f9b2ccb4b7cdd61fadc44a7530.tar.gz toybox-1a23c1e68d46c2f9b2ccb4b7cdd61fadc44a7530.tar.bz2 toybox-1a23c1e68d46c2f9b2ccb4b7cdd61fadc44a7530.zip |
Defragment per-profile dependenciestizen_4.0.m1_releasesubmit/tizen_unified/20170308.100417submit/tizen_3.0_wearable/20161015.000006submit/tizen_3.0_tv/20161015.000006submit/tizen_3.0_mobile/20161015.000007submit/tizen_3.0_ivi/20161010.000007submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093755submit/tizen/20160831.004932accepted/tizen/wearable/20160831.124336accepted/tizen/unified/20170309.040646accepted/tizen/tv/20160831.124315accepted/tizen/mobile/20160831.124304accepted/tizen/ivi/20160831.124353accepted/tizen/common/20160831.161415accepted/tizen/3.0/wearable/20161015.084349accepted/tizen/3.0/tv/20161016.005944accepted/tizen/3.0/mobile/20161015.034428accepted/tizen/3.0/ivi/20161011.065215accepted/tizen/3.0/common/20161114.111920accepted/tizen/3.0.m2/wearable/20170105.025743accepted/tizen/3.0.m2/tv/20170105.025657accepted/tizen/3.0.m2/mobile/20170105.025510tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
General packages especially at lower layers should avoid
being direclty dependent on profile information, which
enforces build system to build things redundantly and
makes much difficult to configure a system.
Change-Id: I5ee2715c537c4ad61c903a436bd8f8552111bd49
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'packaging/toybox.spec')
-rw-r--r-- | packaging/toybox.spec | 54 |
1 files changed, 42 insertions, 12 deletions
diff --git a/packaging/toybox.spec b/packaging/toybox.spec index c94e836..78a2f24 100644 --- a/packaging/toybox.spec +++ b/packaging/toybox.spec @@ -7,13 +7,8 @@ License: BSD-2.0 URL: http://www.landley.net/toybox/ Source: %{name}-%{version}.tar.bz2 Source1: config -%if "%{?profile}"=="tv" -Source2: bin_tv.links -Source3: sbin_tv.links -%else Source2: bin.links Source3: sbin.links -%endif Source4: usrbin.links Source5: usrsbin.links Source1001: toybox.manifest @@ -43,6 +38,30 @@ Requires: %{name} = %{version}-%{release} %description symlinks-dhcpd ToyBox symlinks for utilities corresponding to 'dhcpd' package. +%package symlinks-ping +Group: Base/Utilities +Summary: ToyBox symlinks to provide 'ping' +Requires: %{name} = %{version}-%{release} + +%description symlinks-ping +ToyBox symlinks for utilities corresponding to 'ping' package. + +%package symlinks-ping6 +Group: Base/Utilities +Summary: ToyBox symlinks to provide 'ping6' +Requires: %{name} = %{version}-%{release} + +%description symlinks-ping6 +ToyBox symlinks for utilities corresponding to 'ping6' package. + +%package symlinks-nslookup +Group: Base/Utilities +Summary: ToyBox symlinks to provide 'nslookup' +Requires: %{name} = %{version}-%{release} + +%description symlinks-nslookup +ToyBox symlinks for utilities corresponding to 'nslookup' package. + %prep %setup -q @@ -77,13 +96,6 @@ popd %license LICENSE.BSD %defattr(-,root,root,-) /bin/toybox -/usr/bin/nslookup -%if "%{?profile}"=="tv" -/sbin/ping -/bin/ping -/sbin/ping6 -/bin/ping6 -%endif %files symlinks-dhcp %manifest toybox.manifest @@ -97,3 +109,21 @@ popd %defattr(-,root,root,-) %{_bindir}/dumpleases %{_sbindir}/dhcpd + +%files symlinks-ping +%manifest toybox.manifest +%license LICENSE.BSD +%defattr(-,root,root,-) +%{_bindir}/ping + +%files symlinks-ping6 +%manifest toybox.manifest +%license LICENSE.BSD +%defattr(-,root,root,-) +%{_bindir}/ping6 + +%files symlinks-nslookup +%manifest toybox.manifest +%license LICENSE.BSD +%defattr(-,root,root,-) +%{_bindir}/nslookup |