Hello community, here is the log from the commit of package lua-lua-mpris for openSUSE:Factory checked in at 2018-04-29 19:37:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-lua-mpris (Old) and /work/SRC/openSUSE:Factory/.lua-lua-mpris.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lua-lua-mpris" Sun Apr 29 19:37:31 2018 rev:5 rq:601692 version:0.0+git20170918.28b1c75 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-lua-mpris/lua-lua-mpris.changes 2017-10-31 15:44:16.057192023 +0100 +++ /work/SRC/openSUSE:Factory/.lua-lua-mpris.new/lua-lua-mpris.changes 2018-04-29 19:37:34.029931371 +0200 @@ -1,0 +2,5 @@ +Thu Apr 26 17:20:31 UTC 2018 - jberry@suse.com + +- Only produce mpv-plugin-mpris during one flavor to avoid duplicate binary. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-lua-mpris.spec ++++++ --- /var/tmp/diff_new_pack.yy9BrO/_old 2018-04-29 19:37:34.573911423 +0200 +++ /var/tmp/diff_new_pack.yy9BrO/_new 2018-04-29 19:37:34.573911423 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua-lua-mpris # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -68,8 +68,10 @@ %install mkdir -p %{buildroot}%{lua_noarchdir}/lua-mpris cp -Ra applet.lua client.lua init.lua %{buildroot}%{lua_noarchdir}/lua-mpris/ +%if "%{flavor}" == "lua53" mkdir -p %{buildroot}%{_datadir}/mpv-plugin-mpris cp mpv.lua %{buildroot}%{_datadir}/mpv-plugin-mpris/ +%endif %post -n mpv-plugin-mpris if [ "$1" = 1 ] ; then @@ -81,11 +83,14 @@ %doc LICENSE %{lua_noarchdir}/lua-mpris +# Only produce during one flavor to avoid duplicate binary. +%if "%{flavor}" == "lua53" %files -n mpv-plugin-mpris %defattr(-,root,root) %doc LICENSE %{_datadir}/mpv-plugin-mpris %ghost %config %{_sysconfdir}/mpv/scripts/mpris.lua %ghost %dir %{_sysconfdir}/mpv/scripts +%endif %changelog