Hello community,
here is the log from the commit of package python-python-afl for
openSUSE:Factory checked in at 2020-05-23 17:26:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-afl (Old)
and /work/SRC/openSUSE:Factory/.python-python-afl.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-afl"
Sat May 23 17:26:58 2020 rev:5 rq:807691 version:0.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-afl/python-python-afl.changes
2019-06-19 21:01:50.378160620 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-afl.new.2738/python-python-afl.changes
2020-05-23 17:28:13.115509000 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:46 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-afl.spec ++++++
--- /var/tmp/diff_new_pack.KGB1hX/_old 2020-05-23 17:28:14.007510930 +0200
+++ /var/tmp/diff_new_pack.KGB1hX/_new 2020-05-23 17:28:14.011510939 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-afl
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,24 +24,25 @@
Summary: American fuzzy lop fork server and instrumentation for
pure-Python code
License: MIT
Group: Development/Languages/Python
-Url: http://jwilk.net/software/python-afl
+URL: https://jwilk.net/software/python-afl
Source:
https://files.pythonhosted.org/packages/source/p/python-afl/python-afl-%{version}.tar.gz
# PATCH-FIX-OPENSUSE
Patch0:
https://github.com/jwilk/python-afl/compare/%{version}...sebix:%{version}-fix-setup-tests.patch#/Use-setuptools-and-use-test-command-for-setup.patch
BuildRequires: %{python_module Cython >= 0.19}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: afl >= 2
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+# name with _ automatically redirected by pypi to name with -
+Provides: python-python_afl
%if %{with test}
BuildRequires: %{python_module nose}
BuildRequires: afl >= 2
BuildRequires: procps
%endif
-BuildRequires: fdupes
-Requires: afl >= 2
-# name with _ automatically redirected by pypi to name with -
-Provides: python-python_afl
-
%python_subpackages
%description
@@ -59,6 +60,10 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/py-afl-tmin
+%python_clone -a %{buildroot}%{_bindir}/py-afl-showmap
+%python_clone -a %{buildroot}%{_bindir}/py-afl-fuzz
+%python_clone -a %{buildroot}%{_bindir}/py-afl-cmin
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with test}
@@ -67,13 +72,25 @@
%python_exec setup.py test
%endif
+%post
+%python_install_alternative py-afl-tmin
+%python_install_alternative py-afl-showmap
+%python_install_alternative py-afl-fuzz
+%python_install_alternative py-afl-cmin
+
+%postun
+%python_uninstall_alternative py-afl-tmin
+%python_uninstall_alternative py-afl-showmap
+%python_uninstall_alternative py-afl-fuzz
+%python_uninstall_alternative py-afl-cmin
+
%files %{python_files}
%doc doc/changelog doc/README doc/trophy-case
%license doc/LICENSE
-%python3_only %{_bindir}/py-afl-cmin
-%python3_only %{_bindir}/py-afl-fuzz
-%python3_only %{_bindir}/py-afl-showmap
-%python3_only %{_bindir}/py-afl-tmin
+%python_alternative %{_bindir}/py-afl-cmin
+%python_alternative %{_bindir}/py-afl-fuzz
+%python_alternative %{_bindir}/py-afl-showmap
+%python_alternative %{_bindir}/py-afl-tmin
%{python_sitearch}/*
%changelog