Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opi for openSUSE:Factory checked in 
at 2023-02-14 16:47:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opi (Old)
 and      /work/SRC/openSUSE:Factory/.opi.new.27156 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opi"

Tue Feb 14 16:47:32 2023 rev:40 rq:1065545 version:2.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/opi/opi.changes  2023-02-13 16:43:14.872198514 
+0100
+++ /work/SRC/openSUSE:Factory/.opi.new.27156/opi.changes       2023-02-14 
16:48:11.243422197 +0100
@@ -1,0 +2,7 @@
+Mon Feb 13 16:35:38 UTC 2023 - Dominik Heidler <dheid...@suse.de>
+
+- Version 2.14.0
+- Install openh264 according to arch
+- Use http instead of https for openh264 repo
+
+-------------------------------------------------------------------

Old:
----
  opi-2.13.0.tar.gz

New:
----
  opi-2.14.0.tar.gz

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

Other differences:
------------------
++++++ opi.spec ++++++
--- /var/tmp/diff_new_pack.p4wZ1d/_old  2023-02-14 16:48:11.731425078 +0100
+++ /var/tmp/diff_new_pack.p4wZ1d/_new  2023-02-14 16:48:11.731425078 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           opi
-Version:        2.13.0
+Version:        2.14.0
 Release:        0
 Summary:        OBS Package Installer (CLI)
 License:        GPL-3.0-only

++++++ opi-2.13.0.tar.gz -> opi-2.14.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.13.0/opi/__init__.py 
new/opi-2.14.0/opi/__init__.py
--- old/opi-2.13.0/opi/__init__.py      2023-02-13 11:27:05.000000000 +0100
+++ new/opi-2.14.0/opi/__init__.py      2023-02-13 17:35:30.000000000 +0100
@@ -35,7 +35,7 @@
 def get_cpu_arch():
        global cpu_arch
        if not cpu_arch:
-               cpu_arch = subprocess.check_output(['uname', 
'-m']).strip().decode('ASCII')
+               cpu_arch = os.uname().machine
                if re.match(r"^i.86$", cpu_arch):
                        cpu_arch = 'i586'
        return cpu_arch
@@ -107,7 +107,7 @@
        project = get_os_release()["NAME"]
        project = project.replace(':', '_').replace(' ', '_')
 
-       url = 'https://codecs.opensuse.org/openh264/%s/' % project
+       url = 'http://codecs.opensuse.org/openh264/%s/' % project
        existing_repo = get_enabled_repo_by_url(url)
        if existing_repo:
                print(f"Installing from existing repo 
'{existing_repo['name']}'")
@@ -119,7 +119,7 @@
                        filename = repo,
                        name = repo,
                        url = url,
-                       gpgkey = f"{url}repodata/repomd.xml.key",
+                       gpgkey = f"{url.replace('http://', 
'https://')}repodata/repomd.xml.key",
                        auto_refresh = True,
                        priority = 90
                )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.13.0/opi/plugins/packman.py 
new/opi-2.14.0/opi/plugins/packman.py
--- old/opi-2.13.0/opi/plugins/packman.py       2023-02-13 11:27:05.000000000 
+0100
+++ new/opi-2.14.0/opi/plugins/packman.py       2023-02-13 17:35:30.000000000 
+0100
@@ -38,7 +38,11 @@
                        return
                opi.add_openh264_repo(dup=True)
 
-               opi.install_packages([
-                       'libgstopenh264.so()(64bit)',
+               openh264_packages = [
                        'mozilla-openh264',
-               ])
+               ]
+               if opi.get_cpu_arch() == 'i586' or 
opi.get_cpu_arch().startswith('armv7'):
+                       openh264_packages.append('libgstopenh264.so()')
+               else:
+                       openh264_packages.append('libgstopenh264.so()(64bit)')
+               opi.install_packages(openh264_packages)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.13.0/opi/version.py 
new/opi-2.14.0/opi/version.py
--- old/opi-2.13.0/opi/version.py       2023-02-13 11:27:05.000000000 +0100
+++ new/opi-2.14.0/opi/version.py       2023-02-13 17:35:30.000000000 +0100
@@ -1 +1 @@
-__version__ = '2.13.0'
+__version__ = '2.14.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opi-2.13.0/opi.changes new/opi-2.14.0/opi.changes
--- old/opi-2.13.0/opi.changes  2023-02-13 11:27:05.000000000 +0100
+++ new/opi-2.14.0/opi.changes  2023-02-13 17:35:30.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Mon Feb 13 16:35:28 UTC 2023 - Dominik Heidler <dheid...@suse.de>
+
+- Version 2.14.0
+- Install openh264 according to arch
+- Use http instead of https for openh264 repo
+
+-------------------------------------------------------------------
 Mon Feb 13 10:27:03 UTC 2023 - Dominik Heidler <dheid...@suse.de>
 
 - Version 2.13.0

Reply via email to