Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nile for openSUSE:Factory checked in 
at 2026-04-15 16:07:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nile (Old)
 and      /work/SRC/openSUSE:Factory/.nile.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nile"

Wed Apr 15 16:07:55 2026 rev:3 rq:1347034 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/nile/nile.changes        2026-02-25 
21:10:36.786274143 +0100
+++ /work/SRC/openSUSE:Factory/.nile.new.21863/nile.changes     2026-04-15 
16:14:35.871730682 +0200
@@ -1,0 +2,24 @@
+Tue Apr 14 22:20:20 UTC 2026 - Jonatas Gonçalves <[email protected]>
+
+- Update Requires to use python3- prefix instead of python- to
+  fix "nothing provides" errors during installation, as the
+  modern openSUSE python stack uses the python3 capability. 
+
+-------------------------------------------------------------------
+Sat Apr 11 19:28:14 UTC 2026 - Jonatas Gonçalves <[email protected]>
+
+- Add missing %changelog line in spec. 
+
+-------------------------------------------------------------------
+Sat Apr 11 18:59:12 UTC 2026 - Jonatas Gonçalves <[email protected]>
+
+- Modernise build flow and enable noarch for Leap 16.0/15.7
+  * Removed python3-PyInstaller dependency to fix builds on Leap 16.0.
+  * Replaced ExclusiveArch with BuildArch: noarch for better portability.
+  * Now dynamically generates pyproject.toml during %prep to manage 
+    dependencies and entry points.
+  * Uses standard %pyproject macros and %py3_compile for bytecode.
+  * Stripped unnecessary shebangs from library files.
+  * Implemented %fdupes to handle duplicated files in site-packages. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ nile.spec ++++++
--- /var/tmp/diff_new_pack.ul4ive/_old  2026-04-15 16:14:36.503756510 +0200
+++ /var/tmp/diff_new_pack.ul4ive/_new  2026-04-15 16:14:36.503756510 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nile
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+%define         pythons %{primary_python}
 Name:           nile
 Version:        1.1.2
 Release:        0
@@ -22,43 +23,63 @@
 License:        GPL-3.0-only
 URL:            https://github.com/imLinguin/nile.git
 Source:         %{name}-%{version}.tar.xz
-BuildRequires:  python3-PyInstaller
-BuildRequires:  python3-json5 >= 0.9
-BuildRequires:  python3-pip
-BuildRequires:  python3-protobuf >= 4.0
-BuildRequires:  python3-pycryptodome >= 3.0
-BuildRequires:  python3-requests < 3.0}
-BuildRequires:  python3-setuptools
-%ifarch aarch64
-ExclusiveArch: aarch64
-%endif
-%ifarch x86_64
-ExclusiveArch: x86_64
-%endif
+BuildRequires:  fdupes
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module json5}
+BuildRequires:  %{python_module protobuf}
+BuildRequires:  %{python_module pycryptodome}
+BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module zstandard}
+BuildRequires:  %{python_module setuptools >= 61}
+BuildRequires:  %{python_module setuptools_scm >= 6.2}
+Requires:       python3-protobuf
+Requires:       python3-pycryptodome
+Requires:       python3-requests
+Requires:       python3-json5
+Requires:       python3-zstandard
+Requires:       python3-platformdirs
+BuildArch:      noarch
 
 %description
 Nile aims to be CLI and GUI tool for managing and playing games from Amazon.
 
 %prep
 %setup -q
+sed -i '1{/^#!/d}' nile/cli.py
 
-# Fixes pyproject and adds a data section.
-cat >> pyproject.toml <<'PYEOF'
+cat > pyproject.toml <<EOF
+[project]
+name = "nile"
+version = "%{version}"
+description = "Unofficial Amazon Games client"
+dependencies = [
+    "protobuf", "pycryptodome", "requests", "json5", "zstandard", 
"platformdirs",
+]
+[project.scripts]
+nile = "nile.cli:main"
 [tool.setuptools.packages.find]
-where = ["."]
 include = ["nile", "nile.*"]
-
 [tool.setuptools.package-data]
 "nile" = ["assets/**/*"]
-PYEOF
+EOF
 
 %build
-pyinstaller --onefile --name nile nile/cli.py
+export SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-$(date +%%s)}
+%pyproject_wheel
 
 %install
-install -Dm0755 dist/nile %{buildroot}/%{_bindir}/nile
+export SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-$(date +%%s)}
+export PYTHONHASHSEED=0
+%pyproject_install
+
+find %{buildroot} -name "*.py" -exec touch -d "@$SOURCE_DATE_EPOCH" {} +
+%py3_compile %{buildroot}%{python_sitelib}/nile
+
+%fdupes %{buildroot}%{python_sitelib}
 
 %files
 %license LICENSE*
 %{_bindir}/nile
+%{python_sitelib}/nile
+%{python_sitelib}/nile-%{version}*.dist-info
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.ul4ive/_old  2026-04-15 16:14:36.547758308 +0200
+++ /var/tmp/diff_new_pack.ul4ive/_new  2026-04-15 16:14:36.555758636 +0200
@@ -1,5 +1,5 @@
-mtime: 1771984344
-commit: 34ef52129c6fba73b8a66fb024c63c22d6e5cfeedba642438b24f06f2723bfb0
+mtime: 1776205550
+commit: 43247811428e7f523c0bcc69240b0dddfe63ed7dc87dc58b8aff8603abfb8787
 url: https://src.opensuse.org/MaxxedSUSE/nile
 revision: master
 

Reply via email to