rpms/booty/F-9 booty-0.104-sparc-silo.conf-symlinkfix.patch, NONE, 1.1 booty.spec, 1.80, 1.81

Tom Callaway spot at fedoraproject.org
Thu Dec 18 18:09:16 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/booty/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32504

Modified Files:
	booty.spec 
Added Files:
	booty-0.104-sparc-silo.conf-symlinkfix.patch 
Log Message:
fix silo.conf symlink creation

booty-0.104-sparc-silo.conf-symlinkfix.patch:

--- NEW FILE booty-0.104-sparc-silo.conf-symlinkfix.patch ---
diff -up booty-0.104/bootloaderInfo.py.BAD booty-0.104/bootloaderInfo.py
--- booty-0.104/bootloaderInfo.py.BAD	2008-12-18 13:04:56.000000000 -0500
+++ booty-0.104/bootloaderInfo.py	2008-12-18 13:05:20.000000000 -0500
@@ -2043,8 +2043,8 @@ class sparcBootloaderInfo(bootloaderInfo
                                             root = instRoot)
 
         if (not os.access(instRoot + "/etc/silo.conf", os.R_OK) and
-            os.access(instRoot + "/boot/etc/silo.conf", os.R_OK)):
-            os.symlink("../boot/etc/silo.conf",
+            os.access(instRoot + "/boot/silo.conf", os.R_OK)):
+            os.symlink("../boot/silo.conf",
                        instRoot + "/etc/silo.conf")
 
         return ""


Index: booty.spec
===================================================================
RCS file: /cvs/pkgs/rpms/booty/F-9/booty.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- booty.spec	12 Dec 2008 22:43:40 -0000	1.80
+++ booty.spec	18 Dec 2008 18:08:46 -0000	1.81
@@ -1,7 +1,7 @@
 Summary: simple python bootloader config lib
 Name: booty
 Version: 0.104
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPL
 Source0: %{name}-%{version}.tar.bz2
 Group: System Environment/Libraries
@@ -10,6 +10,7 @@
 BuildRequires: python-devel
 BuildArch: noarch
 Patch0: booty-0.104-fixgetSparcMachinecall.patch
+Patch1: booty-0.104-sparc-silo.conf-symlinkfix.patch
 
 %description
 Small python library for use with bootloader configuration by anaconda
@@ -19,6 +20,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 make
@@ -37,6 +39,9 @@
 
 
 %changelog
+* Thu Dec 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.104-3
+- fix silo.conf symlink creation
+
 * Fri Dec 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.104-2
 - fix getSparcMachine() call
 




More information about the fedora-extras-commits mailing list