Accepting request 231642 from home:coolo:branches:openSUSE:Factory

- remove %ghost in /var/run, see
  http://lists.opensuse.org/opensuse-packaging/2014-04/msg00046.html

OBS-URL: https://build.opensuse.org/request/show/231642
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=53
This commit is contained in:
Marcus Meissner 2014-04-28 09:27:16 +00:00 committed by Git OBS Bridge
parent cfbec15742
commit 1649f25513
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 28 07:17:44 UTC 2014 - coolo@suse.com
- remove %ghost in /var/run, see
http://lists.opensuse.org/opensuse-packaging/2014-04/msg00046.html
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 27 12:06:13 UTC 2014 - vcizek@suse.com Mon Jan 27 12:06:13 UTC 2014 - vcizek@suse.com

View File

@ -107,7 +107,6 @@ rm -rf %{buildroot}%{_datadir}/doc/sysstat*
install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron install -D -m 0755 sysstat.cron.suse %{buildroot}%{_sysconfdir}/sysstat/sysstat.cron
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat
%find_lang %{name} %find_lang %{name}
install -d %{buildroot}%{_localstatedir}/lock/sa %{buildroot}%{_unitdir}
install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service install -D -m 0644 %{S:4} %{buildroot}%{_unitdir}/sysstat.service
# change /usr/lib to /usr/lib64 or something else when needed # change /usr/lib to /usr/lib64 or something else when needed
if [ "%{_libdir}" != "/usr/lib" ]; then if [ "%{_libdir}" != "/usr/lib" ]; then
@ -144,7 +143,6 @@ fi
%exclude %{_bindir}/isag %exclude %{_bindir}/isag
%{_libdir}/sa %{_libdir}/sa
%{_unitdir}/sysstat.service %{_unitdir}/sysstat.service
%ghost %dir %{_localstatedir}/lock/sa
%dir %{_localstatedir}/log/sa %dir %{_localstatedir}/log/sa
%{_sbindir}/rcsysstat %{_sbindir}/rcsysstat