Hello community,

here is the log from the commit of package subtitlecomposer for 
openSUSE:Factory checked in at 2020-03-27 21:57:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subtitlecomposer (Old)
 and      /work/SRC/openSUSE:Factory/.subtitlecomposer.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "subtitlecomposer"

Fri Mar 27 21:57:24 2020 rev:7 rq:788726 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/subtitlecomposer/subtitlecomposer.changes        
2020-03-11 18:56:47.323713577 +0100
+++ 
/work/SRC/openSUSE:Factory/.subtitlecomposer.new.3160/subtitlecomposer.changes  
    2020-03-27 21:57:44.106808028 +0100
@@ -1,0 +2,9 @@
+Sat Mar 14 11:37:30 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Move URL to the new upstream location at invent.kde.org
+- Remove the dependency on python-base (python2) by removing the
+  python examples (so we don't install any python scripts anymore).
+  The python scripts can't be used anyway since we build
+  kross-interpreters without python support.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ subtitlecomposer.spec ++++++
--- /var/tmp/diff_new_pack.cezYkd/_old  2020-03-27 21:57:45.718808966 +0100
+++ /var/tmp/diff_new_pack.cezYkd/_new  2020-03-27 21:57:45.758808988 +0100
@@ -22,7 +22,7 @@
 Summary:        A text-based subtitle editor
 License:        GPL-2.0-or-later
 Group:          Productivity/Multimedia/Video/Editors and Convertors
-URL:            https://github.com/maxrd2/subtitlecomposer/
+URL:            https://invent.kde.org/kde/subtitlecomposer
 Source0:        
https://github.com/maxrd2/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
 # No longer part of mpv >= 0.33
 Source1:        
https://raw.githubusercontent.com/mpv-player/mpv/v0.32.0/libmpv/qthelper.hpp
@@ -81,12 +81,18 @@
 # Fix permissions
 chmod 644 ChangeLog
 
+# We build kross-interpreters without python support anyway, so we can
+# remove the python examples to remove an useless dependency on python2
+rm src/scripting/examples/*.py
+
 # Fix shebang
-sed -i '1s|%{_bindir}/env python|%{_bindir}/python|' \
-       src/scripting/examples/*.py
 sed -i '1s|%{_bindir}/env ruby|%{_bindir}/ruby|' \
        src/scripting/examples/*.rb
 
+# Fix shebang in newly created files
+sed -i 's,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' \
+       src/scripting/scriptsmanager.cpp
+
 %build
 %cmake_kf5 -d build
 %make_jobs
@@ -95,7 +101,6 @@
 %kf5_makeinstall -C build
 
 # Fix persissions
-chmod 755 %{buildroot}%{_kf5_appsdir}/%{name}/scripts/*.py
 chmod 755 %{buildroot}%{_kf5_appsdir}/%{name}/scripts/*.rb
 # Fix rpmlint error (devel-file-in-non-devel-package) and install header files 
as doc (since they are installed just for help)
 mkdir files_for_doc


Reply via email to