Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyjsparser for
openSUSE:Factory checked in at 2024-03-01 23:36:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyjsparser (Old)
and /work/SRC/openSUSE:Factory/.python-pyjsparser.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyjsparser"
Fri Mar 1 23:36:41 2024 rev:5 rq:1153733 version:2.7.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyjsparser/python-pyjsparser.changes
2023-04-22 21:58:39.276568667 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyjsparser.new.1770/python-pyjsparser.changes
2024-03-01 23:37:00.668509088 +0100
@@ -1,0 +2,6 @@
+Fri Mar 1 05:33:06 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyjsparser.spec ++++++
--- /var/tmp/diff_new_pack.gWJ1w0/_old 2024-03-01 23:37:01.108525001 +0100
+++ /var/tmp/diff_new_pack.gWJ1w0/_new 2024-03-01 23:37:01.108525001 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pyjsparser
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-pyjsparser
Version: 2.7.1
Release: 0
Summary: Javascript parser based on esprimajs
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/PiotrDabkowski/pyjsparser
Source:
https://files.pythonhosted.org/packages/source/p/pyjsparser/pyjsparser-%{version}.tar.gz
Source1:
https://raw.githubusercontent.com/PiotrDabkowski/pyjsparser/master/LICENSE
Patch0: fix_version.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -39,19 +39,19 @@
It supports the whole of ECMAScript 5.1 and parts of ECMAScript 6.
%prep
-%setup -q -n pyjsparser-%{version}
-%patch0 -p1
+%autosetup -p1 -n pyjsparser-%{version}
cp %{SOURCE1} .
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/pyjsparser
+%{python_sitelib}/pyjsparser-%{version}.dist-info