From db699492513a7d3b5460c4277015272d5ca94451bb4b3af1bd52aa635f5d4dcd Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 17 Nov 2015 10:22:51 +0000 Subject: [PATCH] Accepting request 344484 from home:cboltz:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- python-Pillow.changes | 5 +++++ python-Pillow.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/python-Pillow.changes b/python-Pillow.changes index e1460fa..298916a 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -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 diff --git a/python-Pillow.spec b/python-Pillow.spec index 4c037a9..2457675 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -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