SHA256
3
0
forked from pool/dpkg

- The logfile for update-alternatives is /var/log/alternatives.log

so stop using update-alternatives.log file which is empty

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=30
This commit is contained in:
Tomáš Chvátal 2016-04-06 12:10:40 +00:00 committed by Git OBS Bridge
parent b8c0f0e219
commit 62f21a3cc6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 6 12:05:23 UTC 2016 - tchvatal@suse.com
- The logfile for update-alternatives is /var/log/alternatives.log
so stop using update-alternatives.log file which is empty
-------------------------------------------------------------------
Fri Mar 25 09:47:24 UTC 2016 - tchvatal@suse.com

View File

@ -67,7 +67,7 @@ install -m 0755 utils/%{name} %{buildroot}/%{_sbindir}
install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/
%post
touch %{_localstatedir}/log/%{name}.log
touch %{_localstatedir}/log/alternatives.log
%files
%defattr(-,root,root,-)
@ -76,6 +76,6 @@ touch %{_localstatedir}/log/%{name}.log
%dir %{_localstatedir}/lib/rpm/alternatives
%{_sbindir}/update-alternatives
%{_mandir}/man1/update-alternatives.1*
%ghost %{_localstatedir}/log/update-alternatives.log
%ghost %{_localstatedir}/log/alternatives.log
%changelog