]> git.pld-linux.org Git - packages/anaconda.git/commitdiff
fix path to libexec; tools need to be executable
authorElan Ruusamäe <glen@delfi.ee>
Fri, 17 May 2013 22:57:23 +0000 (01:57 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 17 May 2013 22:57:47 +0000 (01:57 +0300)
anaconda.spec
libexec.patch [new file with mode: 0644]

index 834a5cf808503b6330cb30151d5692eade42d60e..a09ab63374b3c7206a360fdfc4dca1db8b2ad6f8 100644 (file)
@@ -31,12 +31,13 @@ Summary:    Graphical system installer
 Summary(pl.UTF-8):     Graficzny instalator systemu
 Name:          anaconda
 Version:       19.25
-Release:       0.12
+Release:       0.14
 License:       GPL
 Group:         Applications/System
 Source0:       http://pkgs.fedoraproject.org/repo/pkgs/anaconda/%{name}-%{version}.tar.bz2/b3f242b630aa1d4a458756b5816a0603/anaconda-%{version}.tar.bz2
 # Source0-md5: b3f242b630aa1d4a458756b5816a0603
 Patch0:                interfaces-dir.patch
+Patch1:                libexec.patch
 URL:           http://fedoraproject.org/wiki/Anaconda
 BuildRequires: NetworkManager-devel >= %{nmver}
 BuildRequires: audit-libs-devel
@@ -164,6 +165,7 @@ anaconda runtime on NFS/HTTP/FTP servers or local disks.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # / on %{_prefix} kicks in
 %{__sed} -i -e '1 s,#!/usr/bin/bash,#!/bin/sh,' scripts/run-anaconda
@@ -225,7 +227,12 @@ update-desktop-database
 %attr(755,root,root) %{_sbindir}/logpicker
 %{_datadir}/anaconda
 %exclude %{_datadir}/anaconda/tzmapdata/*
-%{_libdir}/anaconda
+%dir %{_libdir}/anaconda
+%attr(755,root,root) %{_libdir}/anaconda/anaconda-yum
+%attr(755,root,root) %{_libdir}/anaconda/auditd
+%attr(755,root,root) %{_libdir}/anaconda/run-anaconda
+%attr(755,root,root) %{_libdir}/anaconda/upd-updates
+%{_libdir}/anaconda/pyrc.py
 %{py_sitedir}/pyanaconda
 %{py_sitedir}/log_picker
 
diff --git a/libexec.patch b/libexec.patch
new file mode 100644 (file)
index 0000000..77fe897
--- /dev/null
@@ -0,0 +1,11 @@
+--- site-packages/pyanaconda/packaging/yumpayload.py~  2013-05-18 00:48:37.000000000 +0300
++++ site-packages/pyanaconda/packaging/yumpayload.py   2013-05-18 00:58:31.635659944 +0300
+@@ -1550,7 +1550,7 @@
+         # Watch output for progress, debug and error information
+         install_errors = []
+         try:
+-            for line in execReadlines("/usr/libexec/anaconda/anaconda-yum", args):
++            for line in execReadlines("/usr/lib/anaconda/anaconda-yum", args):
+                 if line.startswith("PROGRESS_"):
+                     key, text = line.split(":", 2)
+                     msg = progress_map[key] + text
This page took 0.0475370000000001 seconds and 4 git commands to generate.