Accepting request 51406 from home:elvigia:branches:Base:System

OBS-URL: https://build.opensuse.org/request/show/51406
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpm?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2010-10-27 04:51:56 +00:00 committed by Git OBS Bridge
parent 3f2b332964
commit 7a6a475ee6
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 26 16:44:52 UTC 2010 - cristian.rodriguez@opensuse.org
- Own gpm pid file but %ghost it
-------------------------------------------------------------------
Wed Sep 8 19:59:58 CEST 2010 - pth@suse.de

View File

@ -112,7 +112,7 @@ cp %{S:2} %{S:3} %{S:4} .
export SUSE_ASNEEDED=0
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS -DQUIET_LIBGPM" \
%configure \
%configure --disable-static \
--sysconfdir=/etc/gpm
%ifarch %arm
make CC="gcc -lm"
@ -155,8 +155,9 @@ if grep "^GPM_PROTOCOL=" /etc/sysconfig/mouse 1>/dev/null 2>/dev/null ; then
fi
# Do not package static library
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgpm.a
rm -fv $RPM_BUILD_ROOT/%{_libdir}/libgpm.a
mkdir -p %{buildroot}%{_localstatedir}/run
touch %{buildroot}%{_localstatedir}/run/gpm.pid
%preun
%stop_on_removal gpm
@ -181,13 +182,14 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/Announce doc/FAQ doc/README*
%{_infodir}/*
%{_mandir}/*/*
%dir /etc/gpm
%dir %config /etc/gpm
%config /etc/gpm/*
%config /etc/init.d/gpm
%{_bindir}/*
%{_sbindir}/*
%{_libdir}/libgpm.so.*
/var/adm/fillup-templates/*
%ghost %{_localstatedir}/run/gpm.pid
%files devel
%defattr(-,root,root)