Bug 1471561 - Review Request: python-oletools - Tools to analyze Microsoft OLE2 files
Summary: Review Request: python-oletools - Tools to analyze Microsoft OLE2 files
Status: CLOSED DUPLICATE of bug 1505374
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On: 1409648 1471557 1498616 1498629 1498637
Blocks: 1500072
TreeView+ depends on / blocked
 
Reported: 2017-07-16 23:17 UTC by Michal Ambroz
Modified: 2017-10-23 13:31 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2017-10-23 13:31:14 UTC


Attachments (Terms of Use)

Description Michal Ambroz 2017-07-16 23:17:14 UTC
Spec URL: https://rebus.fedorapeople.org/SPECS/python-oletools.spec
SRPM URL: https://rebus.fedorapeople.org/SRPMS/python-oletools-0.51-1.fc25.src.rpm
Fedora Account System Username: rebus
Description: 
The python-oletools is a package of python tools from Philippe Lagadec
to analyze Microsoft OLE2 files (also called Structured Storage,
Compound File Binary Format or Compound Document File Format),
such as Microsoft Office documents or Outlook messages, mainly for
malware analysis, forensics and debugging.
It is based on the olefile parser.

Comment 1 Michal Ambroz 2017-07-16 23:28:10 UTC
Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=20564767

Comment 2 Zbigniew Jędrzejewski-Szmek 2017-08-09 20:37:39 UTC
No need to define %sum: just use Summary normally, and then %summary wherever necessary.

I'd do something like
%global _description \
The python-oletools is a package of python tools from Philippe Lagadec\
to analyze Microsoft OLE2 files (also called Structured Storage,\
...

%description %_description
%description -n python2-%{gitname} %_description
%description -n python3-%{gitname} %_description
to avoid repeating the same text 3 times.

Are you sure that both python2 and python3 versions of the executables should be installed? I'd expect to get the same output from either version, so it should be enough to just package one of them (python2 it seems).
If you package both, it'd be better to use the suffixes recommended by https://fedoraproject.org/wiki/Packaging:Python#Executables_in_.2Fusr.2Fbin:
-3.6, -3, -2.7, -2.

/usr/lib/python3.6/site-packages/oletools/LICENSE.txt
should be marked as %license, and
/usr/lib/python3.6/site-packages/oletools/README.rst
/usr/lib/python3.6/site-packages/oletools/README.html
should be in %doc or removed.

It seems you also need
Provides: bundled(DridexUrlDecoder)
Provides: bundled(tablestream)
Provides: bundled(xglob)
Provides: bundled(xxxswf)
Provides: bundled(zipfile27)

Comment 3 Robert Scheck 2017-10-04 20:22:32 UTC
Michal, ping? Are you still interested in python-oletools?

Comment 4 Robert Scheck 2017-10-05 21:59:17 UTC
Based on #description and comment #2, I am suggesting the following changes:

Spec URL: https://labs.linuxnetz.de/bugzilla/python-oletools.spec
SRPM URL: https://labs.linuxnetz.de/bugzilla/python-oletools-0.51-2.src.rpm

Comment 5 Zbigniew Jędrzejewski-Szmek 2017-10-06 07:12:35 UTC
Hmm, I completely forgot about this. Robert, if Michal doesn't respond in a few days, open a new review ticket with your version, and close this one as duplicate of the new one.

Comment 6 Robert Scheck 2017-10-23 12:55:35 UTC
Zbigniew, I filed bug #1505374 now (14+ days since last discussion).

Comment 7 Zbigniew Jędrzejewski-Szmek 2017-10-23 13:31:14 UTC

*** This bug has been marked as a duplicate of bug 1505374 ***


Note You need to log in before you can comment on or make changes to this bug.