forked from pool/python-Pillow
Accepting request 344484 from home:cboltz:branches:devel:languages:python
- fix wrong macro name in %post - it's %{py_ver}, not %{py-ver} With the wrong name, the macro wasn't expanded, which lead to funny messages when installing the package: (10/15) Installation von: python-Pillow-3.0.0-1.1 .....................................................................................................................................................................................................................[fertig] Zusätzliche rpm-Ausgabe: update-alternatives: using /usr/bin/pilconvert-2.7 to provide /usr/bin/pilconvert (pilconvert) in auto mode update-alternatives: warning: skip creation of /usr/bin/createfontdatachunk because associated file /usr/bin/createfontdatachunk-%{py-ver} (of link group pilconvert) doesn't exist update-alternatives: warning: skip creation of /usr/bin/enhancer because associated file /usr/bin/enhancer-%{py-ver} (of link group pilconvert) doesn't exist update-alternatives: warning: skip creation of /usr/bin/explode because associated file /usr/bin/explode-%{py-ver} (of link group pilconvert) doesn't exist update-alternatives: warning: skip creation of /usr/bin/gifmaker because associated file /usr/bin/gifmaker-%{py-ver} (of link group pilconvert) doesn't exist update-alternatives: warning: skip creation of /usr/bin/painter because associated file /usr/bin/painter-%{py-ver} (of link group pilconvert) doesn't exist update-alternatives: warning: skip creation of /usr/bin/player because associated file /usr/bin/player-%{py-ver} (of link group pilconvert) doesn't exist update-alternatives: warning: skip creation of /usr/bin/thresholder because associated file /usr/bin/thresholder-%{py-ver} (of link group pilconvert) doesn't exist update-alternatives: warning: skip creation of /usr/bin/viewer because associated file /usr/bin/viewer-%{py-ver} (of link group pilconvert) doesn't exist Please forward this fix to factory. OBS-URL: https://build.opensuse.org/request/show/344484 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=41
This commit is contained in:
parent
d79fc67a8d
commit
db69949251
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 15 13:23:56 UTC 2015 - opensuse@cboltz.de
|
||||
|
||||
- fix wrong macro name in %post - it's %{py_ver}, not %{py-ver}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 5 06:15:05 UTC 2015 - arun@gmx.de
|
||||
|
||||
|
@ -117,14 +117,14 @@ update-alternatives \
|
||||
--slave %{_bindir}/pilfile pilfile %{_bindir}/pilfile-%{py_ver} \
|
||||
--slave %{_bindir}/pilfont pilfont %{_bindir}/pilfont-%{py_ver} \
|
||||
--slave %{_bindir}/pilprint pilprint %{_bindir}/pilprint-%{py_ver} \
|
||||
--slave %{_bindir}/createfontdatachunk createfontdatachunk %{_bindir}/createfontdatachunk-%{py-ver} \
|
||||
--slave %{_bindir}/enhancer enhancer %{_bindir}/enhancer-%{py-ver} \
|
||||
--slave %{_bindir}/explode explode %{_bindir}/explode-%{py-ver} \
|
||||
--slave %{_bindir}/gifmaker gifmaker %{_bindir}/gifmaker-%{py-ver} \
|
||||
--slave %{_bindir}/painter painter %{_bindir}/painter-%{py-ver} \
|
||||
--slave %{_bindir}/player player %{_bindir}/player-%{py-ver} \
|
||||
--slave %{_bindir}/thresholder thresholder %{_bindir}/thresholder-%{py-ver} \
|
||||
--slave %{_bindir}/viewer viewer %{_bindir}/viewer-%{py-ver}
|
||||
--slave %{_bindir}/createfontdatachunk createfontdatachunk %{_bindir}/createfontdatachunk-%{py_ver} \
|
||||
--slave %{_bindir}/enhancer enhancer %{_bindir}/enhancer-%{py_ver} \
|
||||
--slave %{_bindir}/explode explode %{_bindir}/explode-%{py_ver} \
|
||||
--slave %{_bindir}/gifmaker gifmaker %{_bindir}/gifmaker-%{py_ver} \
|
||||
--slave %{_bindir}/painter painter %{_bindir}/painter-%{py_ver} \
|
||||
--slave %{_bindir}/player player %{_bindir}/player-%{py_ver} \
|
||||
--slave %{_bindir}/thresholder thresholder %{_bindir}/thresholder-%{py_ver} \
|
||||
--slave %{_bindir}/viewer viewer %{_bindir}/viewer-%{py_ver}
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user