- 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:
parent
b8c0f0e219
commit
62f21a3cc6
@ -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
|
Fri Mar 25 09:47:24 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ install -m 0755 utils/%{name} %{buildroot}/%{_sbindir}
|
|||||||
install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/
|
install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch %{_localstatedir}/log/%{name}.log
|
touch %{_localstatedir}/log/alternatives.log
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -76,6 +76,6 @@ touch %{_localstatedir}/log/%{name}.log
|
|||||||
%dir %{_localstatedir}/lib/rpm/alternatives
|
%dir %{_localstatedir}/lib/rpm/alternatives
|
||||||
%{_sbindir}/update-alternatives
|
%{_sbindir}/update-alternatives
|
||||||
%{_mandir}/man1/update-alternatives.1*
|
%{_mandir}/man1/update-alternatives.1*
|
||||||
%ghost %{_localstatedir}/log/update-alternatives.log
|
%ghost %{_localstatedir}/log/alternatives.log
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user