| 628 | $ rpm -qi netperf |
| 629 | Name : netperf Relocations: (not relocatable) |
| 630 | Version : 2.4.4 Vendor: (none) |
| 631 | Release : 1.mdv2007.1 Build Date: sam 17 nov 2007 00:40:33 CET |
| 632 | Install Date: sam 17 nov 2007 00:47:29 CET Build Host: victoria2.home.musique-ancienne.org |
| 633 | Group : Archiving/Backup Source RPM: netperf-2.4.4-1.mdv2007.1.src.rpm |
| 634 | Size : 263698 License: GPL |
| 635 | Signature : (none) |
| 636 | Packager : Bruno Cornec <bruno@project-builder.org> |
| 637 | URL : http://www.netperf.org |
| 638 | Summary : netperf est un outil de benchmark réseau |
| 639 | Description : |
| 640 | netperf est un outil de benchmark réseau |
| 643 | }}} |
| 644 | So we still have an issue with the Group used and the changelog which is empty. Also some modes are wrong and our NEWS file is empty. Again Projec-Builder can will with those issues. |
| 645 | You'll have for that to create a new file under pbconf/netperf called pbcl which will be the changelog file for your project: |
| 646 | {{{ |
| 647 | $ cp netperf-2.4.4/Release_Notes pbconf/netperf/pbcl |
| 648 | $ vi pbconf/netperf/pbcl |
| 649 | [... format modifications ...] |
| 650 | $ head -20 pbconf/netperf/pbcl |
| 651 | # $Id$ |
| 652 | |
| 653 | NETPERF CHANGES |
| 654 | |
| 655 | 2.4.4 (2007-11-16) |
| 656 | - The LOC_CPU and REM_CPU tests will report their respective beliefs |
| 657 | as to the number of CPUs present when the verbosity is set to more |
| 658 | than one. This can be used when trying to diagnose issues with CPU |
| 659 | utilization. |
| 660 | - A kind soul who wishes to remain anonymous provided a patch to |
| 661 | enable use of sendfile() on OSX. |
| 662 | - Fix a misplaced \n in a format string of send_tcp_maerts, courtesy |
| 663 | of Alexander Duyck. |
| 664 | - There is an experimental global -r option which will allow one to |
| 665 | include CPU utilization measurements, but make the decision about |
| 666 | hitting confidence based on the result only. The test banner will |
| 667 | reflects this when -r is used. |
| 668 | - It is no longer necessary to specify a file with the global -F |
| 669 | option when running a _SENDFILE test. Netperf will create a |
| 670 | temporary file and populate it with random data and use that. If |
| 671 | $ |
| 672 | EOF |
| 673 | }}} |
| 674 | I also decide to remove the useless files in the distribution, and replace them with those that Project-Builder will generate from the pbcl file we just created from Release_Notes: |
| 675 | {{{ |
| 676 | $ chmod 644 netperf-2.4.4/README* netperf-2.4.4/Release_Notes netperf-2.4.4/AUTHORS netperf-2.4.4/COPYING netperf-2.4.4/INSTALL |
| 677 | $ rm netperf-2.4.4/ChangeLog netperf-2.4.4/NEWS |
| 678 | }}} |
| 679 | |
| 680 | Ready to check again: |
| 681 | {{{ |
| 682 | $ pb -p netperf -r `pwd` cms2pkg |
| 683 | Project: netperf |
| 684 | Action: cms2pkg |
| 685 | Packages: netperf |
| 686 | |
| 687 | Management of netperf 2.4.4-1 (rev flat) |
| 688 | Exporting /users/bruno/netperf/src/netperf-2.4.4 from DIR to /users/bruno/netperf/delivery/netperf-2.4.4... OK |
| 689 | Generating NEWS file from /users/bruno/netperf/src/pbconf/netperf/pbcl |
| 690 | [... build continues ...] |
| 691 | Wrote: /users/bruno/netperf/build/SRPMS/netperf-2.4.4-1.mdv2007.1.src.rpm |
| 692 | Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-2.4.4-1.mdv2007.1.x86_64.rpm |
| 693 | Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-debug-2.4.4-1.mdv2007.1.x86_64.rpm |
| 694 | Executing(%clean): /bin/sh -e /users/bruno/netperf/build/tmp/rpm-tmp.76745 |
| 695 | + umask 022 |
| 696 | + cd /users/bruno/netperf/build/BUILD |
| 697 | + cd netperf-2.4.4 |
| 698 | + /bin/rm -rf /users/bruno/netperf/build/tmp/netperf-2.4.4-1.mdv2007.1-root-bruno |
| 699 | + exit 0 |
| 700 | OK |
| 701 | Checking validity of rpms with rpmlint... E: netperf info-files-without-install-info-postin /usr/share/info/netperf.info.bz2 |
| 702 | E: netperf info-files-without-install-info-postun /usr/share/info/netperf.info.bz2 |
| 703 | E: netperf no-signature |
| 704 | E: netperf no-signature |
| 705 | OK |
| 706 | }}} |
| 707 | |
| 708 | So seems much better. More verifications: |
| 709 | {{{ |
| 710 | $ rpm -ql netperf |
| 711 | /usr/bin/netperf |
| 712 | /usr/bin/netserver |
| 713 | /usr/share/doc/netperf-2.4.4 |
| 714 | /usr/share/doc/netperf-2.4.4/AUTHORS |
| 715 | /usr/share/doc/netperf-2.4.4/COPYING |
| 716 | /usr/share/doc/netperf-2.4.4/ChangeLog |
| 717 | /usr/share/doc/netperf-2.4.4/INSTALL |
| 718 | /usr/share/doc/netperf-2.4.4/NEWS |
| 719 | /usr/share/doc/netperf-2.4.4/README |
| 720 | /usr/share/info/netperf.info.bz2 |
| 721 | /usr/share/man/man1/netperf.1.bz2 |
| 722 | /usr/share/man/man1/netserver.1.bz2 |
| 723 | $ rpm -q --changelog netperf |
| 724 | }}} |