diff --git a/brltty-3.7.2-debuginfo.patch b/brltty-3.7.2-debuginfo.patch new file mode 100644 index 0000000..c6d53ad --- /dev/null +++ b/brltty-3.7.2-debuginfo.patch @@ -0,0 +1,11 @@ +--- brltty-3.7.2/config.mk.in.debuginfo 2005-12-26 13:58:07.000000000 +0100 ++++ brltty-3.7.2/config.mk.in 2007-01-30 12:39:10.000000000 +0100 +@@ -89,7 +89,7 @@ + + INSTALL = @INSTALL@ + INSTALL_SCRIPT = $(INSTALL) +-INSTALL_PROGRAM = $(INSTALL_SCRIPT) -s ++INSTALL_PROGRAM = $(INSTALL_SCRIPT) + INSTALL_DATA = $(INSTALL) -m 644 + INSTALL_DIRECTORY = $(INSTALL) -d + diff --git a/brltty.spec b/brltty.spec index 3ad12b3..7846703 100644 --- a/brltty.spec +++ b/brltty.spec @@ -1,12 +1,13 @@ Name: brltty Version: 3.7.2 -Release: 1.1%{?dist} +Release: 2%{?dist} License: GPL Group: System Environment/Daemons URL: http://mielke.cc/brltty/ Source: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz Patch0: brltty-3.7.2-linux-compiler-h.patch Patch1: brltty-3.7.2-vt-buildfix.patch +Patch2: brltty-3.7.2-debuginfo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-InstallRoot Summary: Braille display driver for Linux/Unix. Requires(post): coreutils @@ -55,6 +56,7 @@ which directly accesses a refreshable braille display. %setup -n brltty-3.7.2 %patch0 -p1 -b .linux-compiler-h %patch1 -p1 -b .vt-buildfix +%patch2 -p1 -b .debuginfo %build %configure --with-install-root="${RPM_BUILD_ROOT}" --with-braille-driver=-tt @@ -95,6 +97,7 @@ then chown root.tty "${device}" echo "done." fi +exit 0 %files %defattr(-,root,root) @@ -124,6 +127,10 @@ fi %doc Documents/BrlAPIref-HTML %changelog +* Tue Jan 30 2007 Tomas Janousek - 3.7.2-2 +- failsafe postinstall script, fixes #224570 +- makefile fix - debuginfo extraction now works + * Thu Jan 25 2007 Tomas Janousek - 3.7.2-1.1 - fix building with newer kernel-headers (#224149)