Hello community, here is the log from the commit of package binwalk for openSUSE:Factory checked in at 2018-08-12 20:54:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/binwalk (Old) and /work/SRC/openSUSE:Factory/.binwalk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "binwalk" Sun Aug 12 20:54:46 2018 rev:4 rq:628630 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/binwalk/binwalk.changes 2018-07-03 23:34:39.448382457 +0200 +++ /work/SRC/openSUSE:Factory/.binwalk.new/binwalk.changes 2018-08-12 20:54:46.801395012 +0200 @@ -1,0 +2,7 @@ +Fri Aug 10 13:00:35 UTC 2018 - tchva...@suse.com + +- Use only python3 variant +- Drop argparse dependency +- Use %license macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ binwalk.spec ++++++ --- /var/tmp/diff_new_pack.3dHMy7/_old 2018-08-12 20:54:47.149395718 +0200 +++ /var/tmp/diff_new_pack.3dHMy7/_new 2018-08-12 20:54:47.153395727 +0200 @@ -22,37 +22,30 @@ Summary: Firmware Analysis Tool License: MIT Group: Development/Tools/Debuggers -Url: https://github.com/devttys0/binwalk +URL: https://github.com/devttys0/binwalk Source: https://github.com/devttys0/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python3-curses +BuildRequires: python3-setuptools # Depends on libmagic. Requires: file +Requires: python3-curses +# Depends on libfuzzy. +Requires: ssdeep Recommends: bzip2 Recommends: cabextract Recommends: cpio Recommends: gzip -%if 0%{?suse_version} > 1500 -Recommends: p7zip-full -%else -Recommends: p7zip -%endif Recommends: unrar Recommends: xz Recommends: zlib Suggests: java -BuildRequires: fdupes -%if 0%{?suse_version} >= 1230 -BuildRequires: python3-devel -Requires: python3-curses -# Depends on libfuzzy. -Requires: ssdeep -%else -BuildRequires: python-devel -Requires: python-argparse -Requires: python-curses -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%endif -%if 0%{?suse_version} > 1110 BuildArch: noarch +%if 0%{?suse_version} > 1500 +Recommends: p7zip-full +%else +Recommends: p7zip %endif %description @@ -70,32 +63,17 @@ %setup -q %build -%if 0%{?suse_version} >= 1230 -python3 setup.py build -%else -python setup.py build -%endif +%python3_build %install -%if 0%{?suse_version} >= 1230 -python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} -%fdupes %{buildroot}%{python3_sitelib} -%else -python2 setup.py install --root=%{buildroot} --prefix=%{_prefix} -%fdupes %{buildroot}%{python_sitelib} -%endif +%python3_install chmod 644 API.md %files -%defattr(-,root,root) -%doc API.md LICENSE +%license LICENSE +%doc API.md %{_bindir}/%{name} -%if 0%{?suse_version} >= 1230 %{python3_sitelib}/%{name}/ %{python3_sitelib}/%{name}-* -%else -%{python_sitelib}/%{name}/ -%{python_sitelib}/%{name}-* -%endif %changelog