forked from pool/binwalk
This commit is contained in:
parent
1e14e70041
commit
687fcecb71
@ -4,12 +4,10 @@ Mon Sep 14 10:56:52 UTC 2015 - sor.alexei@meowr.ru
|
||||
- Use Python 3.x in new openSUSE releases.
|
||||
- Use built-in pyqtgraph.
|
||||
- Require "file" instead of python-magic as a shadow ABI-agnostic
|
||||
libmagic dependency.
|
||||
- Avoid depending on library specific ABI by depending on ssdeep
|
||||
instead of libfuzzy2.
|
||||
libmagic dependency and "ssdeep" instead of "libfuzzy2".
|
||||
- Dependencies fixes.
|
||||
- Remove pregenerated binwalk.1: leave old openSUSE releases
|
||||
without a manpage.
|
||||
- Remove manpage generation from "binwalk --help": sometimes it
|
||||
makes package build to fail.
|
||||
- Spec cleanup.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@ -36,8 +36,6 @@ Recommends: xz
|
||||
Recommends: zlib
|
||||
Suggests: java
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: help2man
|
||||
BuildRequires: python3-curses
|
||||
BuildRequires: python3-devel
|
||||
Requires: python3-curses
|
||||
# Depends on libfuzzy.
|
||||
@ -75,9 +73,6 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%if 0%{?suse_version} >= 1230
|
||||
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
|
||||
help2man -N --version-string=%{version} %{buildroot}%{_bindir}/%{name} > %{name}.1
|
||||
install -Dm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%else
|
||||
python2 setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
%endif
|
||||
@ -88,7 +83,6 @@ python2 setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
%if 0%{?suse_version} >= 1230
|
||||
%{python3_sitelib}/%{name}/
|
||||
%{python3_sitelib}/%{name}-*
|
||||
%{_mandir}/man?/%{name}.?%{?ext_man}
|
||||
%else
|
||||
%{python_sitelib}/%{name}/
|
||||
%{python_sitelib}/%{name}-*
|
||||
|
Loading…
Reference in New Issue
Block a user