[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #15 from jiri vanek --- btw: python /usr/lib/python2.7/site-packages/hexdump/hexdump.py /bin/pwd | head : 7F 45 4C 46 02 01 01 00 00 00 00 00 00 00 00 00 .ELF 0010: 03 00 3E 00 01 00 00 00 70 1B 00 00 00 00 00 00 ..>.p... 0020: 40 00 00 00 00 00 00 00 20 88 00 00 00 00 00 00 @... ... 0030: 00 00 00 00 40 00 38 00 09 00 40 00 1D 00 1C 00 @.8...@. 0040: 06 00 00 00 05 00 00 00 40 00 00 00 00 00 00 00 @... 0050: 40 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 @...@... 0060: F8 01 00 00 00 00 00 00 F8 01 00 00 00 00 00 00 0070: 08 00 00 00 00 00 00 00 03 00 00 00 04 00 00 00 0080: 38 02 00 00 00 00 00 00 38 02 00 00 00 00 00 00 8...8... 0090: 38 02 00 00 00 00 00 00 1C 00 00 00 00 00 00 00 8... Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/hexdump/hexdump.py", line 484, in main() File "/usr/lib/python2.7/site-packages/hexdump/hexdump.py", line 456, in main hexdump(open(args[0], 'rb')) File "/usr/lib/python2.7/site-packages/hexdump/hexdump.py", line 247, in hexdump print(line) IOError: [Errno 32] Broken pipe Bad reactioon to closed stream? Candidate to fix? -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 jiri vanek changed: What|Removed |Added CC||jva...@redhat.com --- Comment #14 from jiri vanek --- Hi! Except being library, the application containsd main method. `python /usr/lib/python2.7/site-packages/hexdump/hexdump.py` jsut wokrs. Why it do not have python-hexdump launcher on path? -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #13 from Fedora Update System --- python-hexdump-3.4-0.2.20160818hg66325cb5fed8.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 Fedora Update System changed: What|Removed |Added Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed||2018-02-28 12:09:55 --- Comment #12 from Fedora Update System --- python-hexdump-3.4-0.2.20160818hg66325cb5fed8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #11 from Fedora Update System --- python-hexdump-3.4-0.2.20160818hg66325cb5fed8.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-eb03b4ac26 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 Fedora Update System changed: What|Removed |Added Status|MODIFIED|ON_QA --- Comment #10 from Fedora Update System --- python-hexdump-3.4-0.2.20160818hg66325cb5fed8.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-6fccd3a086 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #9 from Fedora Update System --- python-hexdump-3.4-0.2.20160818hg66325cb5fed8.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-eb03b4ac26 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 Fedora Update System changed: What|Removed |Added Status|POST|MODIFIED -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #8 from Fedora Update System --- python-hexdump-3.4-0.2.20160818hg66325cb5fed8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6fccd3a086 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #7 from Gwyn Ciesla --- (fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/python-hexdump -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 Robert-André Mauchin changed: What|Removed |Added Status|ASSIGNED|POST Flags|fedora-review? |fedora-review+ --- Comment #6 from Robert-André Mauchin --- All okay, package approved. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #5 from Michal Ambroz --- Spec URL: http://rebus.fedorapeople.org/SPECS/python-hexdump.spec SRPM URL: http://rebus.fedorapeople.org/SRPMS/python-hexdump-3.4-0.2.20160818hg66325cb5fed8.fc27.src.rpm Hello, thanks for the suggested patch - I have happily added that to the package. Also changed the bogus changelog date. Best regards Michal Ambroz -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #4 from Robert-André Mauchin --- - date in changelog is bogus: * Wed Dec 12 2017 Either Tue 12 or Wed 13. - I do not like it either, but this is where the author is placing it. Same will result from for example "pip install hexdump". Patch the setup.py then? diff -up techtonik-hexdump-66325cb5fed8/setup.py.fix_install_dir techtonik-hexdump-66325cb5fed8/setup.py --- techtonik-hexdump-66325cb5fed8/setup.py.fix_install_dir 2016-08-18 09:36:52.0 +0200 +++ techtonik-hexdump-66325cb5fed8/setup.py 2017-12-13 17:02:35.165067852 +0100 @@ -110,8 +110,9 @@ setup( #'Topic :: Utilities', ], -py_modules=['hexdump'], -data_files=[('data', ['data/hexfile.bin'])], +packages=['hexdump'], +package_dir={'hexdump': '.'}, +package_data={'hexdump': ['data/hexfile.bin']}, long_description=get_description('README.txt'), Package Review == Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed = MUST items = Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "*No copyright* Public domain". 14 files have unknown license. Detailed output of licensecheck in /home/bob/packaging/review/python-hexdump/review-python- hexdump/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [x]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by: /usr/lib/python3.6/site- packages/__pycache__(python3-cycler, python3-libs), /usr/lib/python2.7 /site-packages/data(pilas) [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Package contains desktop file if it is a GUI application. [-]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Package is not known to require an ExcludeArch tag. [-]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 20480 bytes in 2 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: No rpmlint messages. [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local Python: [x]: Python eggs must not download any dependencies during the build process. [x]: A package which is used by another package via an egg interface should provide egg info. [x]: Package meets the Packaging Guidelines::Python [x]: Package contains BR: python2-devel or python3-devel [x]: Binary eggs must be removed in %prep = SHOULD item
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 --- Comment #3 from Michal Ambroz --- Spec URL: http://rebus.fedorapeople.org/SPECS/python-hexdump.spec SRPM URL: http://rebus.fedorapeople.org/SRPMS/python-hexdump-3.4-0.1.20160818hg66325cb5fed8.fc27.src.rpm Thank you for review. >- Your patch should link to upstream bugs/comments/lists. added >- Your snapshot must follows the Fedora versioning guidelines [1]. Changed as recommended to add also the commit date. >- Instead of use python%{python3_pkgversion}-setuptools, you can use py3_dist This is recommended way for EPEL where possibly more than one python 3 versions available simultaneously https://fedoraproject.org/wiki/PackagingDrafts:Python3EPEL >- The source version is different from the changelog header. > The Version is set to 3.4 and the changelog points to 3.3-1 Fixed - 3.4-0.1.20160818hg66325cb5fed8 it is now. >- There are rpmlint warnings on the python3 rpm package. Mine was complaining only about missing manpage, which is not part of the original package. $ rpmlint python-hexdump.spec ~/rpmbuild/RPMS/noarch/python2-hexdump-3.4-0.1.20160818hg66325cb5fed8.fc27.noarch.rpm ~/rpmbuild/RPMS/noarch/python3-hexdump-3.4-0.1.20160818hg66325cb5fed8.fc27.noarch.rpm ~/rpmbuild/SRPMS/python-hexdump-3.4-0.1.20160818hg66325cb5fed8.fc27.src.rpm python3-hexdump.noarch: W: no-manual-page-for-binary hexdumpy 3 packages and 1 specfiles checked; 0 errors, 1 warnings. I have added the man page to clean this warning. > - Your rpm packages are creating files in the wrong directory. > All files installed by the package are being created in the > /usr/lib/python3.6/site-packages directory, instead > of /usr/lib/python3.6/site-packages/hexdump/ directory. I do not like it either, but this is where the author is placing it. Same will result from for example "pip install hexdump". >- Some files have unknown license. unfortunate that the license is not referenced in each of these files, but I believe it is reasonable to believe that the package liense applies, which is public domain. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 David Carlos changed: What|Removed |Added CC||ddavidcarlos1...@gmail.com --- Comment #2 from David Carlos --- Hello Michal, I will do a unofficial review (this is my first review). Package Review == Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: - Your patch should link to upstream bugs/comments/lists. - Your snapshot must follows the Fedora versioning guidelines [1]. - Instead of use python%{python3_pkgversion}-setuptools, you can use py3_dist macro. The same is applicable to python-setuptools. On the source name, you can also use the srcname macro [2]. - The source version is different from the changelog header. The Version is set to 3.4 and the changelog points to 3.3-1. - There are rpmlint warnings on the python3 rpm package. - Your rpm packages are creating files in the wrong directory. All files installed by the package are being created in the /usr/lib/python3.6/site-packages directory, instead of /usr/lib/python3.6/site-packages/hexdump/ directory. This is probably happening because your files section have the %{python3_sitelib}/* macro, instead of %{python3_sitelib}/hexdump/*. You can check that by running rpm -qpl python3-hexdump-3.4-0.1.hg66325cb5fed8.fc28.noarch.rpm. - Some files have unknown license. techtonik-hexdump-66325cb5fed8/.hg_archival.txt techtonik-hexdump-66325cb5fed8/.hgignore techtonik-hexdump-66325cb5fed8/.hgtags techtonik-hexdump-66325cb5fed8/README.txt techtonik-hexdump-66325cb5fed8/UNLICENSE techtonik-hexdump-66325cb5fed8/data/hexfile.bin techtonik-hexdump-66325cb5fed8/data/hexfile.txt techtonik-hexdump-66325cb5fed8/data/hextest.txt techtonik-hexdump-66325cb5fed8/data/testdata-far-ansi.txt techtonik-hexdump-66325cb5fed8/data/testdata-far-utf8.txt techtonik-hexdump-66325cb5fed8/data/testdata.bin techtonik-hexdump-66325cb5fed8/hexdump.py techtonik-hexdump-66325cb5fed8/hexdump.py.setup techtonik-hexdump-66325cb5fed8/tox.ini [1] https://fedoraproject.org/wiki/Packaging:Versioning [2] https://fedoraproject.org/wiki/Packaging:Python#Requires_and_BuildRequires_with_standardized_names = MUST items = Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "*No copyright* Public domain". 14 files have unknown license. Detailed output of licensecheck in /home/davidcarlos/rpmbuild/REVISIONS/1516117-python- hexdump/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [x]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by: /usr/lib/python3.6/site- packages/__pycache__(system-python-libs), /usr/lib/python2.7/site- packages/data(pilas) [?]: Package contains no bundled libraries without FPC exception. [!]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [x]: Package contains desktop file if it is a GUI application. [-]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [!]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Package is not known to require an ExcludeArch tag. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 20480 bytes in 2 files. [!]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: All build dependencies are listed in BuildRequires, except for any that are li
[Bug 1516117] Review Request: python-hexdump - Dump binary data to hex format and restore from there
https://bugzilla.redhat.com/show_bug.cgi?id=1516117 Robert-André Mauchin changed: What|Removed |Added Status|NEW |ASSIGNED CC||zebo...@gmail.com Assignee|nob...@fedoraproject.org|zebo...@gmail.com Flags||fedora-review? --- Comment #1 from Robert-André Mauchin --- - If you package a snapshot you need to add the commit date: %global commit 66325cb5fed890df4a345e25ea8f107fd31b60d8 %global shortcommit%(c=%{commit}; echo ${c:0:12}) %global commitdate 20160818 Name: python-hexdump Version:3.4 Release:0.1.%{commitdate}hg%{shortcommit}%{?dist} - Changelog version is not coherent with the header one: * Wed Oct 04 2017 Michal Ambroz - 3.4-0.1.20160818hg66325cb5fed8 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component ___ package-review mailing list -- package-review@lists.fedoraproject.org To unsubscribe send an email to package-review-le...@lists.fedoraproject.org