Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-dtfabric for openSUSE:Factory
checked in at 2023-07-30 20:57:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dtfabric (Old)
and /work/SRC/openSUSE:Factory/.python-dtfabric.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dtfabric"
Sun Jul 30 20:57:58 2023 rev:7 rq:1101369 version:20221218
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dtfabric/python-dtfabric.changes
2023-01-05 15:55:04.634913482 +0100
+++
/work/SRC/openSUSE:Factory/.python-dtfabric.new.32662/python-dtfabric.changes
2023-07-30 20:58:02.171313821 +0200
@@ -1,0 +2,10 @@
+Sun Jul 30 07:15:31 UTC 2023 - Matej Cepl <[email protected]>
+
+- Clean up SPEC file.
+
+-------------------------------------------------------------------
+Sun Jul 30 02:52:20 UTC 2023 - Greg Freemyer <[email protected]>
+
+- use %sle15_python_module_pythons
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dtfabric.spec ++++++
--- /var/tmp/diff_new_pack.bS8Vjm/_old 2023-07-30 20:58:02.915318239 +0200
+++ /var/tmp/diff_new_pack.bS8Vjm/_new 2023-07-30 20:58:02.919318262 +0200
@@ -16,9 +16,8 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
%define modname dtfabric
-%define skip_python2 1
Name: python-dtfabric
Version: 20221218
Release: 0
@@ -28,12 +27,14 @@
URL: https://github.com/libyal/dtfabric
Source:
https://github.com/libyal/dtfabric/releases/download/%{version}/dtfabric-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildArch: noarch
+Requires: python-PyYAML
Requires(post): update-alternatives
Requires(postun):update-alternatives
+BuildArch: noarch
%python_subpackages
%description
@@ -43,10 +44,10 @@
%setup -q -n %{modname}-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/validate-definitions.py
# setup.py install helpfully installs files where it shouldnât
rm -rv %{buildroot}%{_datadir}/doc/%{modname}
@@ -68,6 +69,7 @@
%license LICENSE
%doc ACKNOWLEDGEMENTS AUTHORS README
%python_alternative %{_bindir}/validate-definitions.py
-%{python_sitelib}/*
+%{python_sitelib}/dtfabric
+%{python_sitelib}/dtfabric-%{version}*-info
%changelog