Bug 197716
| Summary: | Review Request: connect-proxy - SSH Proxy command helper | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jarod Wilson <jarod> |
| Component: | Package Review | Assignee: | Patrice Dumas <pertusus> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Package Reviews List <fedora-package-review> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| 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: | 2006-07-10 15:21:41 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: | 163779 | ||
|
Description
Jarod Wilson
2006-07-05 19:01:29 UTC
Needswork:
* rpm compilation flags are not used
* wrong buildroot
Notes:
* %{?_smp_mflags} is not usefull since there is nothing to parallelize
* maybe it would be a good idea to have the html page packaged since it
holds some documentation
* since the source isn't versionned, all the source files will have the same
name. A trick is to use the timestamp in the format YYYYMMDD obtained
for example by using wget -N. Something along
Source0: connect.c-20060402
# real source is below, renamed to connect.c-YYYYMMDD based on latest
# timestamp, obtained with wget -N
#Source0: http://www.taiyo.co.jp/~gotoh/ssh/connect.c
Alternatively you could also rename the file by appending the version number since there is a version number, maybe it would be cleaner in that case: Source0: connect.c-1.95 # Real source is #Source0: http://www.taiyo.co.jp/~gotoh/ssh/connect.c Blah, doing too many things at once. BuildRoot corrected, make now uses CFLAGS. Updated spec and srpm pushed. I know the smp flags are useless in this case, but the guidelines suggest this is a required field unless there is something blocking its use. It doesn't help, but it also doesn't hurt, so nothing really blocks it from being in the spec. Who knows, maybe some day the author refactors the code and they become useful. :) As for Source0... If I'm going to do anything to munge the name of the source, I just assume put it into a tarball and clean up the messy %setup line (and remove the line after it). Thoughts on that route versus just renaming the .c file? > I know the smp flags are useless in this case, but the guidelines suggest this > is a required field unless there is something blocking its use. It doesn't help, > but it also doesn't hurt, so nothing really blocks it from being in the spec. > Who knows, maybe some day the author refactors the code and they become useful. :) Ok, no problem here. > As for Source0... If I'm going to do anything to munge the name of the source, I > just assume put it into a tarball and clean up the messy %setup line (and remove > the line after it). Thoughts on that route versus just renaming the .c file? I think it is better to only rename the file since it is easier to verify that it is the right file. However if you prefer doing a tarball, do it. (In reply to comment #4) > I think it is better to only rename the file since it is easier to > verify that it is the right file. However if you prefer doing a tarball, > do it. Nah, I'll go with renaming the source file, with a slight twist: Source0: connect-%{version}.c Build -3 pushed. The %setup may be simplified as:
%setup -q -T -c
cp %{SOURCE0} connect.c
%patch0 -p1
One rpmlint warning, not a big deal in my opinion (though I prefer spaces,
since it looks the same in every editors):
W: connect-proxy mixed-use-of-spaces-and-tabs
The specfile mixes use of spaces and tabs for indentation, which is a
cosmetic annoyance. Use either spaces or tabs for indentation, not both.
There are many warning durings compilation, some may be worrying.
These are not blockers.
Full review:
* follow approximately naming guidelines, with a valid reason
to deviate.
* licence is GPL, not included since it is not included upstream
* match upstream source
b856937f1cdfca7a3ccfb2fac36ef726 ../SOURCES/connect-1.95.c
* build on devel i386
* don't crash at start
* remove $RPM_BUILD_ROOT in clean and install
* right buildroot
* %files right
APPROVED
I still think that having the html file located at the package
URL would be a good idea. Not a blocker.
Made the %setup changes, those look a lot nicer, thank you. :) Missed the spaces vs. tabs warning, didn't have the development rpmlint installed (just installed it), that's fixed too. Also added the html page as a %doc. I'll import a -4 build momentarily... Packages all built and pushed. |