Resolves: #537724 - Opening console failed

This commit is contained in:
Nikola Pajkovsky 2009-11-19 12:36:06 +00:00
parent d678e55c33
commit 426ae6e662

View File

@ -1,7 +1,7 @@
Summary: A mouse server for the Linux console
Name: gpm
Version: 1.20.6
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://unix.schottelius.org/gpm/
@ -14,10 +14,10 @@ Patch3: gpm-1.20.3-gcc4.3.patch
Patch4: gpm-1.20.5-close-fds.patch
Patch5: gpm-1.20.1-weak-wgetch.patch
Patch6: gpm-1.20.6-libtool.patch
Patch7: gpm-1.20.6-capability.patch
#Patch7: gpm-1.20.6-capability.patch
Requires(post): /sbin/chkconfig /sbin/install-info /sbin/ldconfig
Requires(preun): /sbin/chkconfig /sbin/install-info
Requires(postun): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
# this defines the library version that this package builds.
%define LIBVER 2.1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
@ -66,7 +66,7 @@ mouse support to text-based Linux applications.
%patch4 -p1 -b .close-fds
%patch5 -p1 -b .weak-wgetch
%patch6 -p1 -b .libtool
%patch7 -p1 -b .capability
#%patch7 -p1 -b .capability
iconv -f iso-8859-1 -t utf-8 -o TODO.utf8 TODO
touch -c -r TODO TODO.utf8
@ -90,7 +90,7 @@ ln -sf libgpm.so.%{LIBVER} %{buildroot}/%{_libdir}/libgpm.so
%ifnarch s390 s390x
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
install -m 755 inputattach %{buildroot}%{_sbindir}
install -m 644 conf/gpm-* %{buildroot}%{_sysconfdir}
install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/rc.d/init.d/gpm
@ -115,7 +115,7 @@ fi
/sbin/ldconfig
%preun
%ifnarch s390 s390x
%ifnarch s390 s390x
if [ $1 = 0 ]; then
/sbin/service gpm stop >/dev/null 2>&1
/sbin/chkconfig --del gpm
@ -143,6 +143,7 @@ fi
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/gpm
%{_sbindir}/*
%{_bindir}/*
%{_datadir}/emacs/site-lisp/*
%{_mandir}/man?/*
%endif
@ -160,6 +161,10 @@ fi
%{_libdir}/libgpm.a
%changelog
* Thu Nov 19 2009 Nikola Pajkovsky <npajkovs@redhat.com> 1.20.6.7
- drop patch7
- resolved #537724(does not work with capabilities)
* Thu Aug 20 2009 Zdenek Prikryl <zprikryl@redhat.com> 1.20.6-6
- Don't complain if installing with --excludedocs (#515927)
- Drop unnecessary capabilities in gpm (#517659)