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 2021-04-12 17:10:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dtfabric (Old)
and /work/SRC/openSUSE:Factory/.python-dtfabric.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dtfabric"
Mon Apr 12 17:10:27 2021 rev:2 rq:879215 version:20200621
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dtfabric/python-dtfabric.changes
2020-01-19 20:58:22.468079778 +0100
+++
/work/SRC/openSUSE:Factory/.python-dtfabric.new.2401/python-dtfabric.changes
2021-04-12 17:10:29.886573852 +0200
@@ -1,0 +2,11 @@
+Fri Mar 12 13:46:52 UTC 2021 - Matej Cepl <[email protected]>
+
+- Update to 20200621 release
+ * No changelog was provided.
+
+-------------------------------------------------------------------
+Fri Mar 12 13:45:01 UTC 2021 - Matej Cepl <[email protected]>
+
+- Setup use of update-alternatives for the package binary.
+
+-------------------------------------------------------------------
Old:
----
dtfabric-20190120.tar.gz
New:
----
dtfabric-20200621.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dtfabric.spec ++++++
--- /var/tmp/diff_new_pack.kD5Twd/_old 2021-04-12 17:10:30.518574552 +0200
+++ /var/tmp/diff_new_pack.kD5Twd/_new 2021-04-12 17:10:30.518574552 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-dtfabric
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,18 +20,20 @@
%define modname dtfabric
%define skip_python2 1
Name: python-dtfabric
-Version: 20190120
+Version: 20200621
Release: 0
Summary: Data type fabric (dtfabric)
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/libyal/dtfabric
Source:
https://files.pythonhosted.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module PyYAML}
+BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
%python_subpackages
%description
@@ -45,11 +47,18 @@
%install
%python_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}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%post
+%python_install_alternative validate-definitions.py
+
+%postun
+%python_uninstall_alternative validate-definitions.py
+
%check
# Using pytest leads to some horribly-looking crashes, not sure what's
# going on.
@@ -58,7 +67,7 @@
%files %{python_files}
%license LICENSE
%doc ACKNOWLEDGEMENTS AUTHORS README
-%{_bindir}/validate-definitions.py
+%python_alternative %{_bindir}/validate-definitions.py
%{python_sitelib}/*
%changelog
++++++ dtfabric-20190120.tar.gz -> dtfabric-20200621.tar.gz ++++++
++++ 6870 lines of diff (skipped)