Hello community, here is the log from the commit of package binwalk for openSUSE:Factory checked in at 2020-09-27 11:50:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/binwalk (Old) and /work/SRC/openSUSE:Factory/.binwalk.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "binwalk" Sun Sep 27 11:50:18 2020 rev:6 rq:837824 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/binwalk/binwalk.changes 2020-02-07 15:56:45.311584664 +0100 +++ /work/SRC/openSUSE:Factory/.binwalk.new.4249/binwalk.changes 2020-09-27 11:50:19.736079156 +0200 @@ -1,0 +2,8 @@ +Fri Sep 25 16:08:57 UTC 2020 - Martin Hauke <mar...@gmx.de> + +- Create (via help2man) and package manpage +- Recommend more unpacking programs + * capstone, cramfs-tools, cramfsswap, jefferson, lhasa, lzop, + sasquatch, sleuthkit, squashfs, srecord, ubi_reader, yaffshiv + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ binwalk.spec ++++++ --- /var/tmp/diff_new_pack.5x2ePu/_old 2020-09-27 11:50:20.812080316 +0200 +++ /var/tmp/diff_new_pack.5x2ePu/_new 2020-09-27 11:50:20.816080320 +0200 @@ -24,6 +24,7 @@ URL: https://github.com/devttys0/binwalk Source: https://github.com/devttys0/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: fdupes +BuildRequires: help2man BuildRequires: python-rpm-macros BuildRequires: python3-curses BuildRequires: python3-setuptools @@ -34,10 +35,22 @@ Requires: ssdeep Recommends: bzip2 Recommends: cabextract +Recommends: capstone Recommends: cpio +Recommends: cramfs-tools +Recommends: cramfsswap Recommends: gzip +Recommends: jefferson +Recommends: lhasa +Recommends: lzop +Recommends: sasquatch +Recommends: sleuthkit +Recommends: squashfs +Recommends: srecord +Recommends: ubi_reader Recommends: unrar Recommends: xz +Recommends: yaffshiv Recommends: zlib Suggests: java BuildArch: noarch @@ -60,6 +73,7 @@ %prep %setup -q +sed -i -e '/^#!\//, 1d' src/binwalk/plugins/hilink.py %build %python3_build @@ -67,11 +81,16 @@ %install %python3_install chmod 644 API.md +export PYTHONPATH=%{buildroot}%{python3_sitelib} +help2man %{buildroot}/%{_bindir}/binwalk --no-discard-stderr --version-string="%{version}" --no-info > binwalk.1 +install -Dpm 0644 %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 +%fdupes %{buildroot}%{python3_sitelib} %files %license LICENSE %doc API.md %{_bindir}/%{name} +%{_mandir}/man1/binwalk.1%{?ext_man} %{python3_sitelib}/%{name}/ %{python3_sitelib}/%{name}-*