Bug 427662 - Review Request: cpipe - Counting pipe
Summary: Review Request: cpipe - Counting pipe
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-06 12:29 UTC by Terje Røsten
Modified: 2008-01-24 20:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-24 20:07:16 UTC
Type: ---
Embargoed:
mtasaka: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Terje Røsten 2008-01-06 12:29:16 UTC
Spec URL: http://terjeros.fedorapeople.org/cpipe/cpipe.spec
SRPM URL: http://terjeros.fedorapeople.org/cpipe/cpipe-3.0.1-1.fc8.src.rpm
Description:
Cpipe copies its standard input to its standard output while measuring
the time it takes to read an input buffer and write an output
buffer. Statistics of average throughput and the total amount of bytes
copied are printed to the standard error output.

Comment 1 Jan ONDREJ 2008-01-09 20:59:36 UTC
Why you are using group Development/Tools ? It has nothing with development.
I think better group is defined upstream: Applications/Archiving, or may be
Applications/System.

%{__chmod} 0644 %{buildroot}%{_mandir}/man1/%{name}*
- it is not necessary, just add %attr(0644, root, root) before this file in
%files section.

Some developers does not like macros like "%{__rm}" or "%{__make}".


Comment 2 Jan ONDREJ 2008-01-09 21:03:34 UTC
Why cpipe is better like program "pv" already included in Fedora?

Do we need both of them?


Comment 3 Patrice Dumas 2008-01-09 22:52:51 UTC
If the contributor is willing to package cpipe it is fine.
It is still useful to point that it is redundant with another
package since the contributor may change his mind then.

Comment 4 Terje Røsten 2008-01-14 20:28:18 UTC
> Why you are using group Development/Tools ? It has nothing with development.
> I think better group is defined upstream: Applications/Archiving, or may be
> Applications/System.

I don't know,  Applications/Archiving was too strange andnarrow,
Applications/System is possible.

> %{__chmod} 0644 %{buildroot}%{_mandir}/man1/%{name}*
> - it is not necessary, just add %attr(0644, root, root) before this file in
> %files section.

I like it this way, as it clearly signal that something is wrong.


> Some developers does not like macros like "%{__rm}" or "%{__make}".

I prefer to use macros in my packages.


> Why cpipe is better like program "pv" already included in Fedora?
> Do we need both of them?

I see no harm in including cpipe.





Comment 5 Mamoru TASAKA 2008-01-22 15:52:11 UTC
No problem

- License matches, good to Fedora
- Source tarball matches
- Spec file good
- Builds (at least on dist-f9:
  http://koji.fedoraproject.org/koji/taskinfo?taskID=365669 )
  build.log no problem
- Can be installed
- Seems to work

----------------------------------------------------------------------------
        This package (cpipe) is APPROVED by me
----------------------------------------------------------------------------


Comment 6 Mamoru TASAKA 2008-01-22 16:04:37 UTC
A few comments:

(In reply to comment #1)
> %{__chmod} 0644 %{buildroot}%{_mandir}/man1/%{name}*
> - it is not necessary, just add %attr(0644, root, root) before this file in
> %files section.

My opinition is always that setting modes/permissions by %attr
should be avoided unless needed (such as using non-usual users,
or setting setuid).
Especially, changing permission by %attr often bears unwilling results
for debuginfo rpms (using %attr(0755,root,root) but not changing
permission correctly by the time %install ends makes binaries not stripped)


Comment 7 Terje Røsten 2008-01-23 17:11:38 UTC
>         This package (cpipe) is APPROVED by me

Thanks!


New Package CVS Request
=======================
Package Name: cpipe
Short Description: Counting pipe
Owners: terjeros
Branches: F-7 F-8
InitialCC:
Cvsextras Commits: yes


Comment 8 Kevin Fenzi 2008-01-23 18:36:52 UTC
cvs done.

Comment 9 Mamoru TASAKA 2008-01-24 05:25:58 UTC
Please close this bug as NEXTRELEASE when rebuild on koji and push request
on bodhi system are done.

Comment 10 Terje Røsten 2008-01-24 20:07:16 UTC
Pushed for testing in F-7 and F-8.



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