fix kodi vs xbmc libdir weirdness [release 15.2-2mamba;Wed Nov 18 2015]
This commit is contained in:
parent
3514a74a33
commit
22cb35caf1
14
kodi.spec
14
kodi.spec
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: kodi
|
Name: kodi
|
||||||
Version: 15.2
|
Version: 15.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A media player and entertainment hub for digital media
|
Summary: A media player and entertainment hub for digital media
|
||||||
Group: Graphical Desktop/Applications/Multimedia
|
Group: Graphical Desktop/Applications/Multimedia
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -239,6 +239,12 @@ rm -fr %{buildroot}%{_datadir}/doc
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%pre
|
||||||
|
if [ $1 -ge 1 ]; then
|
||||||
|
[ -L %{_libdir}/xbmc ] || rm -rf %{_libdir}/xbmc
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
%post -n %{pckname}
|
%post -n %{pckname}
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1
|
/bin/touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1
|
||||||
exit 0
|
exit 0
|
||||||
@ -267,8 +273,7 @@ exit 0
|
|||||||
%{_datadir}/xsessions/kodi.desktop
|
%{_datadir}/xsessions/kodi.desktop
|
||||||
%{_datadir}/xsessions/xbmc.desktop
|
%{_datadir}/xsessions/xbmc.desktop
|
||||||
%{_datadir}/icons/hicolor/*/*/*.png
|
%{_datadir}/icons/hicolor/*/*/*.png
|
||||||
%dir %{_libdir}/xbmc
|
%{_libdir}/xbmc
|
||||||
%{_libdir}/xbmc/*
|
|
||||||
%dir %{_libdir}/kodi
|
%dir %{_libdir}/kodi
|
||||||
%{_libdir}/kodi/*
|
%{_libdir}/kodi/*
|
||||||
%doc docs
|
%doc docs
|
||||||
@ -283,6 +288,9 @@ exit 0
|
|||||||
#%doc README
|
#%doc README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 15.2-2mamba
|
||||||
|
- fix kodi vs xbmc libdir weirdness
|
||||||
|
|
||||||
* Sun Nov 15 2015 Automatic Build System <autodist@mambasoft.it> 15.2-1mamba
|
* Sun Nov 15 2015 Automatic Build System <autodist@mambasoft.it> 15.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user