Hello community,
here is the log from the commit of package subtitlecomposer for
openSUSE:Leap:15.2 checked in at 2020-03-29 14:56:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/subtitlecomposer (Old)
and /work/SRC/openSUSE:Leap:15.2/.subtitlecomposer.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subtitlecomposer"
Sun Mar 29 14:56:19 2020 rev:17 rq:789286 version:0.7.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/subtitlecomposer/subtitlecomposer.changes
2020-03-13 11:01:11.424597894 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.subtitlecomposer.new.3160/subtitlecomposer.changes
2020-03-29 14:56:24.359191249 +0200
@@ -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.be1SAa/_old 2020-03-29 14:56:24.675191495 +0200
+++ /var/tmp/diff_new_pack.be1SAa/_new 2020-03-29 14:56:24.679191499 +0200
@@ -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