Browse Source

* booty: fix Requires (grub available only on ix86/x86_64 archs: should be yaboot on ppc instead)

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4074 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 13 years ago
parent
commit
a7ae9ec675
1 changed files with 9 additions and 1 deletions
  1. 9 1
      b/booty/booty-vl.spec

+ 9 - 1
b/booty/booty-vl.spec

@@ -2,7 +2,7 @@ Summary: simple python bootloader config lib
 Summary(ja): シンプルな python 用ブートローダ設定ライブラリ
 Name: booty
 Version: 0.44.4
-Release: 6%{?_dist_release}
+Release: 7%{?_dist_release}
 License: LGPL
 Source0: %{name}-%{version}.tar.bz2
 Patch10: %{name}-0.44.4-vine.patch
@@ -13,7 +13,12 @@ Patch80: %{name}-0.44.4-new-grub.patch
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-root
 Requires: rhpl
+%ifarch %{ix86} x86_64
 Requires: grub >= 0.97-4vl6
+%endif
+%ifarch ppc ppc64
+Requires: yaboot >= 1.3.13
+%endif
 BuildRequires: python-devel
 
 %description
@@ -47,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 /usr/lib/booty
 
 %changelog
+* Tue Jun  7 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.44.4-7
+- fix Requres (grub available only on ix86/x86_64 archs: yaboot on ppc instead)
+
 * Sat May 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.44.4-6
 - update vine patch
   - add "quiet" to boot cmdline