- failsafe postinstall script, fixes #224570

- makefile fix - debuginfo extraction now works
This commit is contained in:
Tomas Janousek 2007-01-30 11:48:57 +00:00
parent 96dcaf2751
commit 57b854782d
2 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -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 <tjanouse@redhat.com> - 3.7.2-2
- failsafe postinstall script, fixes #224570
- makefile fix - debuginfo extraction now works
* Thu Jan 25 2007 Tomas Janousek <tjanouse@redhat.com> - 3.7.2-1.1
- fix building with newer kernel-headers (#224149)