]> git.pld-linux.org Git - packages/anaconda.git/commitdiff
- fix release_notes_viewer_gui
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 6 Jun 2006 15:38:50 +0000 (15:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anaconda-release_notes_viewer_gui.patch -> 1.1
    anaconda.spec -> 1.49

anaconda-release_notes_viewer_gui.patch [new file with mode: 0644]
anaconda.spec

diff --git a/anaconda-release_notes_viewer_gui.patch b/anaconda-release_notes_viewer_gui.patch
new file mode 100644 (file)
index 0000000..5ebf2fa
--- /dev/null
@@ -0,0 +1,11 @@
+--- anaconda-11.0.5/gui.py~    2006-06-06 02:24:50.842147638 +0300
++++ anaconda-11.0.5/gui.py     2006-06-06 02:44:25.328401561 +0300
+@@ -1125,7 +1125,7 @@
+           # also HACK to make it work from RHupdates
+           for dir in ("iw/", "/mnt/source/RHupdates/",
+                         ("/usr/%s/anaconda/iw/" % sys.lib)):
+-              path = dir + "release_notes_viewer_gui.py"
++              path = dir + "release_notes_viewer_gui"
+               if os.access(path, os.X_OK):
+                       break
index e6e001d6aa4b6e9db8c532f40c53726f4fea8f55..4089dbd3fdcefe74336e612be9ff1b077bead800 100644 (file)
@@ -18,7 +18,7 @@ Summary:      Graphical system installer
 Summary(pl):   Graficzny instalator systemu
 Name:          anaconda
 Version:       11.0.5
-Release:       0.72
+Release:       0.74
 License:       GPL
 Group:         Applications/System
 Source0:       %{name}-%{version}.tar.bz2
@@ -44,6 +44,7 @@ Patch10:      %{name}-network.patch
 Patch11:       %{name}-branding.patch
 Patch12:       %{name}-x11.patch
 Patch13:       %{name}-installclasses.patch
+Patch14:       %{name}-release_notes_viewer_gui.patch
 URL:           http://fedora.redhat.com/projects/anaconda-installer/
 BuildRequires: X11-devel
 BuildRequires: beecrypt-devel
@@ -194,6 +195,7 @@ Kod 
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 rm -f po/no.po
 mv -f po/{eu_ES,eu}.po
@@ -239,6 +241,10 @@ cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
 cp %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/anaconda/splash.png
 
 %find_lang %{name}
+
+# hack so py_postclean would preserve it
+install $RPM_BUILD_ROOT%{_libdir}/anaconda/iw/release_notes_viewer_gui{.py,}
+
 %{!?debug:%py_postclean %{_libdir}/anaconda}
 
 %clean
@@ -256,6 +262,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/anaconda/installclasses/*.py[co]
 %dir %{_libdir}/anaconda/iw
 %{_libdir}/anaconda/iw/*.py[co]
+%attr(755,root,root) %{_libdir}/anaconda/iw/release_notes_viewer_gui
 %dir %{_libdir}/anaconda/textw
 %{_libdir}/anaconda/textw/*.py[co]
 %{_libdir}/anaconda/lang-names
This page took 0.036147 seconds and 4 git commands to generate.