public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/mlt] epel9-next: Remove the Python 2 subpackage (#1628684)
Date: Mon, 20 Jul 2026 18:17:20 GMT [thread overview]
Message-ID: <178457144018.1.12913566805746373686.rpms-mlt-8fbda29059e0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mlt
Branch : epel9-next
Commit : 8fbda29059e0cc7788e055e0286c16e1d54e3980
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2019-01-05T00:34:02+01:00
Stats : +5/-33 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mlt/c/8fbda29059e0cc7788e055e0286c16e1d54e3980?branch=epel9-next
Log:
Remove the Python 2 subpackage (#1628684)
---
diff --git a/mlt.spec b/mlt.spec
index 51247e6..6756489 100644
--- a/mlt.spec
+++ b/mlt.spec
@@ -9,12 +9,9 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7})
#global gver .%%{gitdate}git%%{shortcommit}
-# bytecompile with Python 2
-%global __python %{__python2}
-
Name: mlt
Version: 6.12.0
-Release: 1%{?gver}%{?dist}
+Release: 2%{?gver}%{?dist}
Summary: Toolkit for broadcasters, video editors, media players, transcoders
# mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
@@ -47,7 +44,6 @@ BuildRequires: libxml2-devel
BuildRequires: sox-devel
# verion 3.0.11 needed for php7 IIRC
BuildRequires: swig >= 3.0.11
-BuildRequires: python2-devel
BuildRequires: freetype-devel
BuildRequires: libexif-devel
BuildRequires: fftw-devel
@@ -91,16 +87,6 @@ Group: Development/Libraries
Requires: pkgconfig
Requires: %{name}%{?_isa} = %{version}-%{release}
-%package -n python2-mlt
-%{?python_provide:%python_provide python2-mlt}
-# Remove before F30
-Provides: %{name}-python = %{version}-%{release}
-Provides: %{name}-python%{?_isa} = %{version}-%{release}
-Obsoletes: %{name}-python < %{version}-%{release}
-Requires: python2
-Requires: %{name}%{?_isa} = %{version}-%{release}
-Summary: Python package to work with MLT
-
%package ruby
Requires: %{name}%{_isa} = %{version}-%{release}
Summary: Ruby package to work with MLT
@@ -115,9 +101,6 @@ Summary: PHP package to work with MLT
The %{name}-devel package contains the header files and static libraries for
building applications which use %{name}.
-%description -n python2-mlt
-This module allows to work with MLT using python.
-
%description ruby
This module allows to work with MLT using ruby.
@@ -147,13 +130,6 @@ sed -i 's|-php5|-php7|g' src/swig/php/build
sed -i 's|mlt_wrap.cpp|mlt_wrap.cxx|g' src/swig/php/build
%endif
-%if 0%{?fedora} >= 29
-find src/swig/python -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python2}|'
-sed -i -e 's|which python|which python2|' src/swig/python/build
-sed -i -e 's|python -c|python2 -c|' src/swig/python/build
-sed -i -e 's|python-config|python2-config|' src/swig/python/build
-%endif
-
%build
#export STRIP=/bin/true
%configure \
@@ -166,7 +142,7 @@ sed -i -e 's|python-config|python2-config|' src/swig/python/build
--disable-xine \
%endif
--rename-melt=%{name}-melt \
- --swig-languages="python %{?with_php: php}%{?with_ruby: ruby}"
+ --swig-languages="%{?with_php: php}%{?with_ruby: ruby}"
%make_build
@@ -175,9 +151,6 @@ sed -i -e 's|python-config|python2-config|' src/swig/python/build
%make_install
# manually do what 'make install' skips
-install -D -pm 0644 src/swig/python/mlt.py %{buildroot}%{python2_sitelib}/mlt.py
-install -D -pm 0755 src/swig/python/_mlt.so %{buildroot}%{python2_sitearch}/_mlt.so
-
%if %{with ruby}
install -D -pm 0755 src/swig/ruby/play.rb %{buildroot}%{ruby_vendorlibdir}/play.rb
install -D -pm 0755 src/swig/ruby/thumbs.rb %{buildroot}%{ruby_vendorlibdir}/thumbs.rb
@@ -215,10 +188,6 @@ test "$(pkg-config --modversion mlt++)" = "%{version}"
%{_libdir}/libmlt.so.*
%{_datadir}/mlt/
-%files -n python2-mlt
-%{python2_sitelib}/mlt.py*
-%{python2_sitearch}/_mlt.so
-
%if %{with ruby}
%files ruby
%{ruby_vendorlibdir}/play.rb
@@ -243,6 +212,9 @@ test "$(pkg-config --modversion mlt++)" = "%{version}"
%changelog
+* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 6.12.0-2
+- Remove the Python 2 subpackage (#1628684)
+
* Thu Nov 29 2018 Martin Gansser <martinkg@fedoraproject.org> - 6.12.0-1
- Update to 6.12.0
reply other threads:[~2026-07-20 18:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178457144018.1.12913566805746373686.rpms-mlt-8fbda29059e0@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox