forked from pool/grub2
Accepting request 397532 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/397532 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=137
This commit is contained in:
parent
597bfc56db
commit
3bf9aa10ca
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 20 09:28:16 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Make sure all systemd unit files are passed to %service_ macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 19 14:56:53 UTC 2016 - agraf@suse.com
|
Thu May 19 14:56:53 UTC 2016 - agraf@suse.com
|
||||||
|
|
||||||
|
@ -700,7 +700,11 @@ perl -ni -e '
|
|||||||
%fdupes %buildroot%{_bindir}
|
%fdupes %buildroot%{_bindir}
|
||||||
%fdupes %buildroot%{_libdir}
|
%fdupes %buildroot%{_libdir}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre grub2-once.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
%service_add_post grub2-once.service
|
||||||
/sbin/install-info %{_infodir}/grub-dev.info %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/grub-dev.info %{_infodir}/dir || :
|
||||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||||
|
|
||||||
@ -785,6 +789,7 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
%service_del_preun grub2-once.service
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/grub-dev.info %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/grub-dev.info %{_infodir}/dir || :
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||||
@ -825,6 +830,9 @@ fi
|
|||||||
%define source_dir build
|
%define source_dir build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun grub2-once.service
|
||||||
|
|
||||||
%files -f %{source_dir}/%{name}.lang
|
%files -f %{source_dir}/%{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING NEWS README
|
%doc COPYING NEWS README
|
||||||
|
Loading…
Reference in New Issue
Block a user