Bug 1308367
| Summary: | Review Request: raknet - C++ networking engine for game programmers | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John M. Harris, Jr. <johnmh> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | hobbes1069, igor.raits, johnmh, mark, package-review, rc040203, rosser.bjr, vrutkovs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-08-07 20:46:01 UTC | Type: | --- |
| 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: | 177841, 201449, 1364745 | ||
|
Description
John M. Harris, Jr.
2016-02-14 21:11:05 UTC
johnmh's scratch build of libraknet-4.081-1.fc23.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=12990400 Am I correct in assuming you to be new to fedora packaging? (In reply to Ralf Corsepius from comment #2) > Am I correct in assuming you to be new to fedora packaging? Yes, this would be my first package. Revised spec file and SRPM Spec URL: https://git.openblox.org/raknet.git/plain/libraknet.spec SRPM URL: https://openblox.org/~johnmh/libraknet-4.081-1.fc23.src.rpm johnmh's scratch build of libraknet-4.081-1.fc23.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=12990732 Updated Spec file, "Packager" is no longer hard-coded and I'm no longer using wildcards like crazy (libdir/*). SRPM URL: https://openblox.org/~johnmh/libraknet-4.081-2.fc23.src.rpm Updated spec file to use cmake on RakNet's sources. Thanks to the way the upstream CMake files were written, some changes were necessary. A pull request has been made. There is currently a pull request to fix the `install` target of the generated Makefile, as well. Spec URL: https://git.openblox.org/raknet.git/plain/libraknet.spec SRPM URL: https://github.com/JohnMHarrisJr/RakNet/releases/download/4.081-2/libraknet-4.081-3.fc23.src.rpm johnmh's scratch build of libraknet-4.081-3.fc23.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=13067927 A little spec review:
1. rm -rf $RPM_BUILD_ROOT in %install isn't needed anymore (for a long time).
2. "cp -f" in %install
You shouldn't need to force anything as nothing should already be there but you should preserve time stamps so use "cp -p" instead.
3. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
Since this appears to be a cmake project I would be surprised to see libtool archives in it but I haven't tried building the software yet.
4. %{_libdir}/libraknet.so
Fedora pretty much requires libraries to carry a soversion for anything going into %{_libdir}. This will take some more thought. I have a project that I have to maintain the soversion manually. It's not terribly problematic but I do have to check changes against abi-compliance-checker to see if I need to bump the version.
5. %changelog
a. There should be one line between changelog entries.
b. Your name and email address should be in them (it's ok to mangle the email address if that's a concern).
c. The release should be on the end.
So your current changelog would become:
%changelog
* Sat Feb 20 2016 John M. Harris <email address> - 4.081-3
- Use actual RakNet sources and CMake to generate build files.
* Mon Feb 15 2016 John M. Harris <email address> - 4.081-2
- Updated spec file to use a wildcard for headers, not for libraries.
* Mon Feb 15 2016 John M. Harris <email address> - 4.081-1
- Initial packaging of raknet.
Updated spec file, patched CMake files from upstream for SO versioning. Spec URL: https://git.openblox.org/raknet.git/plain/libraknet.spec SRPM URL: https://github.com/JohnMHarrisJr/RakNet/releases/download/4.081-4/libraknet-4.081-4.fc23.src.rpm > %files > %license LICENSE > %{_libdir}/libraknet.so.4.081 > %{_libdir}/libraknet.so > %files devel > %{_includedir}/raknet/*.h Placement of build-time .so files: https://fedoraproject.org/wiki/Packaging:Guidelines#Devel_Packages Unowned directory /usr/include/raknet/: https://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership Updated spec file, %files devel now lists %{_includedir}/raknet/ instead of %{_includedir}/raknet/*.h
libraknet.so has been moved from %files to %files devel
Spec URL: https://git.openblox.org/raknet.git/plain/libraknet.spec
SRPM URL: https://github.com/JohnMHarrisJr/RakNet/releases/download/4.081-5/libraknet-4.081-5.fc23.src.rpm
please rename it to raknet or even to RakNet, as this is upstream name. Vadim, can you make review of this simple, but useful package? Renamed to raknet in b722205bf223d7bbde70a54d608d0bf602ac5e14, spec is at https://git.openblox.org/raknet.git/tree/raknet.spec and SRPM at https://openblox.org/~mark/raknet-4.081-5.fc24.src.rpm. FAS username: markotaris Actually, SRPM at https://openblox.org/~mark/raknet-4.081-6.fc24.src.rpm. I forgot to increment the release number, I am sorry. What's the status of this review? Mark, are you interested in taking it over? If so, I think the policy is that you should open a new review request and mark this one as a duplicate: https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews#Submitter_not_responding (assuming John is no longer interested in the package). Okay, I'm going to close this ticket in accordance with the stalled review policy (which I linked in my previous comment), as it's been much longer than a week with no response here... If someone (Mark?) is still interested in packaging raknet (or a fork of raknet), please open a new ticket for that request. I'm happy to review. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |