Bug 1347878 (rr_xorsearch)
| Summary: | Review Request: xorsearch - Search for a given string in an XOR, ROL, ROT or SHIFT encoded binary file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Ambroz <rebus> |
| Component: | Package Review | Assignee: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fszymanski, package-review, rebus, zbyszek |
| Target Milestone: | --- | Flags: | zbyszek:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-07 13:20:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 563471 | ||
|
Description
Michal Ambroz
2016-06-17 23:48:51 UTC
Hi, I have a few suggestions. 1) You need to list a BuildRequires against gcc in your spec file. See: https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B 2) This is enough: %setup -q -c 3) The -trigraphs option converts ??) to ] and this is not what you want here. Instead use -Wno-trigraphs to suppress the trigraph warnings. See: https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html Consider also using the optimization flags. Example: %build gcc $RPM_OPT_FLAGS -Wno-trigraphs XORSearch.c -o %{name} 4) You don't need this: rm -rf $RPM_BUILD_ROOT 5) And finally for the convenience you could define a %{pkgver} macro. This way you are changing only the version. Example: %define pkgver %(echo %{version} | sed 's/\\./_/g') Source0: http://didierstevens.com/files/software/XORSearch_V%{pkgver}.zip Filip Hello Filip, thanks for the valuable comments. Here are updated SPEC/SRPMS Spec URL: https://rebus.fedorapeople.org/SPECS/xorsearch.spec SRPM URL: https://rebus.fedorapeople.org/SRPMS/xorsearch-1.11.1-3.fc23.src.rpm Thank you Michal Ambroz Group → not necessary BuildRoot → should not be used [https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections, https://fedoraproject.org/wiki/EPEL:Packaging#Previously_required_boilerplate] %setup -q -c %patch0 -p 1 -b .cosmetics → %autosetup -p1 (unless you needs the backup file...) + license is acceptable (PD) + license is specified correctly + package name is OK + builds and installs + provides/requires look OK + latest version Package is APPROVED. Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/xorsearch xorsearch-1.11.1-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3507bc8eea xorsearch-1.11.1-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b043636f33 xorsearch-1.11.1-3.fc24 has been pushed to the Fedora 24 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-2016-b043636f33 xorsearch-1.11.1-3.fc25 has been pushed to the Fedora 25 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-2016-3507bc8eea xorsearch-1.11.1-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. xorsearch-1.11.1-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |