Accepting request 51438 from Base:System

Accepted submit request 51438 from user coolo

OBS-URL: https://build.opensuse.org/request/show/51438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpm?expand=0&rev=25
This commit is contained in:
Ruediger Oertel 2010-10-28 10:21:26 +00:00 committed by Git OBS Bridge
commit 23d8497e36
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)