Accepting request 409093 from home:awissu:branches:science
OBS-URL: https://build.opensuse.org/request/show/409093 OBS-URL: https://build.opensuse.org/package/show/science/giac?expand=0&rev=2
This commit is contained in:
parent
fd524a449c
commit
9ab18de0d7
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 15 23:40:29 UTC 2016 - avvissu@yandex.by
|
||||||
|
|
||||||
|
- Fix postun scriptlet failed:
|
||||||
|
* use install_info_delete instead of info_del
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 2 21:21:49 UTC 2016 - avvissu@yandex.ru
|
Sat Jan 2 21:21:49 UTC 2016 - avvissu@yandex.ru
|
||||||
|
|
||||||
|
12
giac.spec
12
giac.spec
@ -53,6 +53,8 @@ BuildRequires: pkgconfig(xext)
|
|||||||
BuildRequires: pkgconfig(xft)
|
BuildRequires: pkgconfig(xft)
|
||||||
BuildRequires: pkgconfig(xinerama)
|
BuildRequires: pkgconfig(xinerama)
|
||||||
Recommends: giac-doc
|
Recommends: giac-doc
|
||||||
|
Requires(post): %install_info_prereq
|
||||||
|
Requires(preun): %install_info_prereq
|
||||||
%if !%{with cocoa}
|
%if !%{with cocoa}
|
||||||
BuildRequires: pkgconfig(ao)
|
BuildRequires: pkgconfig(ao)
|
||||||
%endif
|
%endif
|
||||||
@ -140,14 +142,16 @@ find %{buildroot}%{_datadir}/%{name}/doc -type f -empty -exec rm -f {} \;
|
|||||||
%info_add %{name}_es.info
|
%info_add %{name}_es.info
|
||||||
%info_add %{name}_us.info
|
%info_add %{name}_us.info
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}_es.info%{ext_info}
|
||||||
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}_us.info%{ext_info}
|
||||||
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%mime_database_postun
|
%mime_database_postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
%info_del %{name}_es.info
|
|
||||||
%info_del %{name}_us.info
|
|
||||||
fi
|
|
||||||
|
|
||||||
%post -n lib%{name}%{soname} -p /sbin/ldconfig
|
%post -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
|
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user