Changes between Version 20 and Version 21 of WikiStart


Ignore:
Timestamp:
Nov 17, 2007, 12:46:33 AM (13 years ago)
Author:
Bruno Cornec
Comment:

up to the first rpm

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v20 v21  
    5050}}}
    5151
    52 The netperf project is a nice project using a simple environment to build itself. It uses the GNU autoconf/autmake/litool mecanism, which makes it easy to package with pb.
    53 
    54 You will now need to get the latest and greatest project-builder software from our [ftp://ftp.project-builder.org ftp] repository. Of course we provide lots of packages for your distribution ;-) Or a tar.gz file if you prefer. Once available, you can use the newproj option of pb to create the infrastructure that is mandatory for pb. It is mandatory that there is a correspondance between the directory mentioned in $HOME/.pbrc and the -r option:
     52The netperf project is a nice project using a simple environment to build itself. It uses the GNU autoconf/autmake/litool mechanism, which makes it easy to package with pb.
     53
     54You will now need to get the latest and greatest project-builder software from our [ftp://ftp.project-builder.org ftp] repository. Of course we provide lots of packages for your distribution ;-) Or a tar.gz file if you prefer. Once available, you can use the newproj option of pb to create the infrastructure that is mandatory for pb. It is mandatory that there is a corespondance between the directory mentioned in $HOME/.pbrc and the -r option:
    5555
    5656{{{
     
    229229Source:         PBSRC
    230230BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    231 Requires:       PBDEP
    232231
    233232%description
     
    241240
    242241%build
    243 %configure
     242./configure
    244243make %{?_smp_mflags} VERSION=%{version}
    245244
     
    320319
    321320Much better. You have now your first useful result from pb :-) Congrats !
     321Well wait ! It's not really useful because we started exactly from a tar file. Well it's not exactly the same tar file. This one adds Project-Buimder support:
     322{{{
     323tar tvfz /users/bruno/netperf/delivery/netperf-2.4.4.tar.gz
     324drwxr-x--- bruno/users       0 2007-11-16 00:57 netperf-2.4.4/
     325-rw-r----- bruno/users      30 2007-10-16 20:00 netperf-2.4.4/inet_ntop.c
     326-rwxr-x--- bruno/users   31743 2007-06-02 00:06 netperf-2.4.4/config.sub
     327drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/
     328drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.0/
     329-rw-r--r-- bruno/users     880 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.0/netperf.spec
     330drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/rhel-5/
     331-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/rhel-5/netperf.spec
     332drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-4/
     333-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-4/netperf.spec
     334drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.1/
     335-rw-r--r-- bruno/users     880 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.1/netperf.spec
     336drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/redhat-7.3/
     337-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/redhat-7.3/netperf.spec
     338drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/sles-9/
     339-rw-r--r-- bruno/users     880 2007-11-16 00:57 netperf-2.4.4/pbconf/sles-9/netperf.spec
     340drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2006.0/
     341-rw-r--r-- bruno/users     867 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2006.0/netperf.spec
     342drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-7/
     343-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-7/netperf.spec
     344drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2007.0/
     345-rw-r--r-- bruno/users     867 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2007.0/netperf.spec
     346drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2008.0/
     347-rw-r--r-- bruno/users     867 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2008.0/netperf.spec
     348drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/sles-10/
     349-rw-r--r-- bruno/users     880 2007-11-16 00:57 netperf-2.4.4/pbconf/sles-10/netperf.spec
     350drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/
     351-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/changelog
     352-rw-r--r-- bruno/users     431 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/control
     353-rw-r--r-- bruno/users      36 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/netperf.docs
     354-rw-r--r-- bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/netperf.dirs
     355-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/compat
     356-rw-r--r-- bruno/users    3632 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/rules
     357-rw-r--r-- bruno/users     994 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.04/copyright
     358drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/
     359-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/changelog
     360-rw-r--r-- bruno/users     431 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/control
     361-rw-r--r-- bruno/users      36 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/netperf.docs
     362-rw-r--r-- bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/netperf.dirs
     363-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/compat
     364-rw-r--r-- bruno/users    3632 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/rules
     365-rw-r--r-- bruno/users     994 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-6.06/copyright
     366drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/
     367-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/changelog
     368-rw-r--r-- bruno/users     431 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/control
     369-rw-r--r-- bruno/users      36 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/netperf.docs
     370-rw-r--r-- bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/netperf.dirs
     371-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/compat
     372-rw-r--r-- bruno/users    3632 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/rules
     373-rw-r--r-- bruno/users     994 2007-11-16 00:57 netperf-2.4.4/pbconf/ubuntu-7.10/copyright
     374drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.3/
     375-rw-r--r-- bruno/users     880 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.3/netperf.spec
     376drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/rhel-3/
     377-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/rhel-3/netperf.spec
     378drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2007.1/
     379-rw-r--r-- bruno/users     867 2007-11-16 00:57 netperf-2.4.4/pbconf/mandriva-2007.1/netperf.spec
     380drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/
     381-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/changelog
     382-rw-r--r-- bruno/users     431 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/control
     383-rw-r--r-- bruno/users      36 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/netperf.docs
     384-rw-r--r-- bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/netperf.dirs
     385-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/compat
     386-rw-r--r-- bruno/users    3632 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/rules
     387-rw-r--r-- bruno/users     994 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-3.1/copyright
     388drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-5/
     389-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-5/netperf.spec
     390drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-6/
     391-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/fedora-6/netperf.spec
     392drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/mandrake-10.2/
     393-rw-r--r-- bruno/users     867 2007-11-16 00:57 netperf-2.4.4/pbconf/mandrake-10.2/netperf.spec
     394drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.2/
     395-rw-r--r-- bruno/users     880 2007-11-16 00:57 netperf-2.4.4/pbconf/suse-10.2/netperf.spec
     396drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/redhat-9/
     397-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/redhat-9/netperf.spec
     398drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/rhel-4/
     399-rw-r--r-- bruno/users     856 2007-11-16 00:57 netperf-2.4.4/pbconf/rhel-4/netperf.spec
     400drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/mandrake-10.1/
     401-rw-r--r-- bruno/users     867 2007-11-16 00:57 netperf-2.4.4/pbconf/mandrake-10.1/netperf.spec
     402drwxr-xr-x bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/
     403-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/changelog
     404-rw-r--r-- bruno/users     431 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/control
     405-rw-r--r-- bruno/users      36 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/netperf.docs
     406-rw-r--r-- bruno/users       0 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/netperf.dirs
     407-rw-r--r-- bruno/users       2 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/compat
     408-rw-r--r-- bruno/users    3632 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/rules
     409-rw-r--r-- bruno/users     994 2007-11-16 00:57 netperf-2.4.4/pbconf/debian-4.0/copyright
     410-rw-r----- bruno/users    2382 2007-06-02 00:06 netperf-2.4.4/README.ovms
     411-rwxr-x--- bruno/users    1988 2007-06-02 00:06 netperf-2.4.4/mkinstalldirs
     412-rw-r----- bruno/users   14022 2007-06-05 03:08 netperf-2.4.4/acinclude.m4
     413-rw-r----- bruno/users    4203 2007-06-14 18:51 netperf-2.4.4/README.windows
     414-rw-r----- bruno/users    2100 2007-06-02 00:06 netperf-2.4.4/README
     415-rw-r----- bruno/users    1048 2007-06-02 00:06 netperf-2.4.4/README.aix
     416-rw-r----- bruno/users   45985 2007-10-17 18:55 netperf-2.4.4/aclocal.m4
     417drwxr-x--- bruno/users       0 2007-10-17 23:42 netperf-2.4.4/doc/
     418-rw-r----- bruno/users    1163 2007-06-02 00:06 netperf-2.4.4/doc/netserver.man
     419[...]
     420-rw-r----- bruno/users      27 2007-06-02 00:06 netperf-2.4.4/ChangeLog
     421drwxr-x--- bruno/users       0 2007-10-17 23:42 netperf-2.4.4/src/
     422-rw-r----- bruno/users    7777 2007-06-02 00:06 netperf-2.4.4/src/netperf.c
     423[...]
     424-rw-r----- bruno/users    4095 2007-08-08 22:30 netperf-2.4.4/src/netsh.h
     425-rwxr-x--- bruno/users  290760 2007-10-17 18:55 netperf-2.4.4/configure
     426-rw-r----- bruno/users     106 2007-06-02 00:06 netperf-2.4.4/Makefile.am
     427-rw-r----- bruno/users   32819 2007-10-17 23:20 netperf-2.4.4/Release_Notes
     428-rw-r----- bruno/users    9223 2007-10-17 23:42 netperf-2.4.4/config.h.in
     429-rw-r----- bruno/users       0 2007-06-02 00:06 netperf-2.4.4/NEWS
     430-rw-r----- bruno/users     258 2007-06-02 00:06 netperf-2.4.4/README.osx
     431-rwxr-x--- bruno/users   13866 2007-06-02 00:06 netperf-2.4.4/depcomp
     432-rw-r----- bruno/users    1260 2007-06-02 00:06 netperf-2.4.4/README.solaris
     433-rwxr-x--- bruno/users    7122 2007-06-02 00:06 netperf-2.4.4/install-sh
     434-rw-r----- bruno/users    1204 2007-06-02 00:06 netperf-2.4.4/netperf.spec.in
     435-rwxr-x--- bruno/users   43499 2007-06-02 00:06 netperf-2.4.4/config.guess
     436-rw-r----- bruno/users   14031 2007-11-16 00:57 netperf-2.4.4/configure.ac
     437-rw-r----- bruno/users    2079 2007-06-02 00:06 netperf-2.4.4/COPYING
     438-rwxr-x--- bruno/users   10266 2007-06-02 00:06 netperf-2.4.4/missing
     439-rw-r----- bruno/users    6013 2007-10-15 19:41 netperf-2.4.4/AUTHORS
     440-rw-r----- bruno/users    1772 2007-06-02 00:06 netperf-2.4.4/README.hpux
     441-rw-r----- bruno/users   17464 2007-10-17 18:55 netperf-2.4.4/Makefile.in
     442-rw-r----- bruno/users    9240 2007-06-02 00:06 netperf-2.4.4/INSTALL
     443}}}
     444As you can see a lot of directories and files have been created under pbconf. They correspond to all the required build files for all the distributions supported and will later be used to really create the packages.
     445
     446So now, we can try to go to the next step and build a package. So issue:
     447{{{
     448pb -p netperf -r `pwd` build2pkg
     449Project: netperf
     450Action: build2pkg
     451Packages: netperf
     452Source file: /users/bruno/netperf/delivery/netperf-2.4.4.tar.gz
     453Working directory: /users/bruno/netperf/build
     454Extracting build files... OK
     455Building package with /users/bruno/netperf/build/SPECS/netperf.spec under /users/bruno/netperf/build... Executing(%prep): /bin/sh -e /users/bruno/netperf/build/tmp/rpm-tmp.93873
     456+ umask 022
     457+ cd /users/bruno/netperf/build/BUILD
     458+ '[' 1 -eq 1 ']'
     459+ '[' 1 -eq 1 ']'
     460[... build execution continues ...]
     461+ '[' -f ./configure.in -o -f ./configure.ac ']'
     462+ CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64'
     463+ ./configure x86_64-mandriva-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64
     464[... build execution continues ...]
     465+ make -j4
     466cd . && /bin/sh /users/bruno/netperf/build/BUILD/netperf-2.4.4/missing --run aclocal-1.7
     467/users/bruno/netperf/build/BUILD/netperf-2.4.4/missing: line 46: aclocal-1.7: command not found
     468WARNING: `aclocal-1.7' is missing on your system.  You should only need it if
     469         you modified `acinclude.m4' or `configure.ac'.  You might want
     470         to install the `Automake' and `Perl' packages.  Grab them from
     471         any GNU archive site.
     472cd . && \
     473          /bin/sh /users/bruno/netperf/build/BUILD/netperf-2.4.4/missing --run automake-1.7 --gnu  Makefile
     474cd . && /bin/sh /users/bruno/netperf/build/BUILD/netperf-2.4.4/missing --run autoconf
     475/users/bruno/netperf/build/BUILD/netperf-2.4.4/missing: line 46: automake-1.7: command not found
     476WARNING: `automake-1.7' is missing on your system.  You should only need it if
     477         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
     478         You might want to install the `Automake' and `Perl' packages.
     479         Grab them from any GNU archive site.
     480/bin/sh ./config.status --recheck
     481[... build execution continues ...]
     482make[2]: Leaving directory `/users/bruno/netperf/build/BUILD/netperf-2.4.4'
     483make[1]: Leaving directory `/users/bruno/netperf/build/BUILD/netperf-2.4.4'
     484+ exit 0
     485Executing(%install): /bin/sh -e /users/bruno/netperf/build/tmp/rpm-tmp.48294
     486+ umask 022
     487+ cd /users/bruno/netperf/build/BUILD
     488+ cd netperf-2.4.4
     489+ '[' 1 -eq 1 ']'
     490+ /bin/rm -rf /users/bruno/netperf/build/tmp/netperf-2.4.4-1PBSUF-root-bruno
     491+ make DESTDIR=/users/bruno/netperf/build/tmp/netperf-2.4.4-1PBSUF-root-bruno install
     492Making install in src
     493[... build execution continues ...]
     494Checking for unpackaged file(s): /usr/lib/rpm/check-files /users/bruno/netperf/build/tmp/netperf-2.4.4-1PBSUF-root-bruno
     495error: Installed (but unpackaged) file(s) found:
     496   /usr/bin/netperf
     497   /usr/bin/netserver
     498   /usr/share/info/netperf.info.bz2
     499   /usr/share/man/man1/netperf.1.bz2
     500   /usr/share/man/man1/netserver.1.bz2
     501
     502
     503RPM build errors:
     504    Installed (but unpackaged) file(s) found:
     505   /usr/bin/netperf
     506   /usr/bin/netserver
     507   /usr/share/info/netperf.info.bz2
     508   /usr/share/man/man1/netperf.1.bz2
     509   /usr/share/man/man1/netserver.1.bz2
     510child (rpmbuild --define "packager Bruno Cornec <bruno@project-builder.org>" --define "_topdir /users/bruno/netperf/build" -ba /users/bruno/netperf/build/SPECS/netperf.spec) exited with value 1
     511}}}
     512So it seems we are not there yet ;-) But it's not too bad for just having renamed a couple of files and parameters in our conf files. Now we need to solve those issues and produce the package.
     513
     514The first problem we've met, is that the build process seems to need automake and autoconf. However, when build separately with the classical ./configure ; make it doesn't ask for it.
     515
     516Project-Builder provide a means when exporting the software to build a coherent automake/autoconf setup by the way of the pbinit script.
     517
     518Create now such a script for your project:
     519{{{
     520$ cat > pbconf/netperf/pbinit << EOF
     521#!/bin/bash
     522aclocal
     523autoconf
     524automake
     525EOF
     526$ chmod 755 pbconf/netperf/pbinit
     527}}}
     528Then it seems that the PBSUF macro isn't expanded correctly. Look for it using a Project-Builder tool:
     529{{{
     530pbg PBSUF
     531./pbconf/pbfilter/rpm.pbf:# PBSUF is replaced by the package name ($pbpkg in code)
     532./pbconf/pbfilter/rpm.pbf:#filter PBSUF = $pbsuf
     533./pbconf/netperf/rpm/netperf.spec:Release:        PBTAGPBSUF
     534}}}
     535So indeed that macro is used in our spec file, but is only declared for rpm types of build in the rpm filter file. However it's currently commented. So edit that file to validate it, as well as the other variables needed:
     536{{{
     537$ cat ./pbconf/pbfilter/rpm.pbf
     538#
     539# $Id$
     540#
     541# Filter for rpm build
     542#
     543
     544# PBGRP is replaced by the RPM group of apps
     545# Cf: http://fedoraproject.org/wiki/RPMGroups
     546filter PBGRP = Applications/Network
     547
     548# PBDEP is replaced by the list of dependencies
     549# filter PBDEP =
     550
     551# PBSUF is replaced by the package name ($pbpkg in code)
     552filter PBSUF = $pbsuf
     553
     554# PBOBS is replaced by the Obsolete line
     555#filter PBOBS =
     556}}}
     557And our final current problem is the list of files produced by the build process that need to be referenced in our %files session. So modify that section of the spec file to read like this:
     558{{{
     559%files
     560%defattr(-,root,root)
     561%doc ChangeLog
     562%doc INSTALL COPYING README AUTHORS NEWS
     563%doc README.* Release_Notes doc/examples
     564%{_bindir}/*
     565%{_mandir}/*/*
     566%{_infodir}/*
     567}}}
     568
     569Now you're ready for your second run !
     570{{{
     571$ pb -p netperf -r `pwd` cms2pkg
     572[... build process ...]
     573Wrote: /users/bruno/netperf/build/SRPMS/netperf-2.4.4-1.mdv2007.1.src.rpm
     574Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-2.4.4-1.mdv2007.1.x86_64.rpm
     575Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-debug-2.4.4-1.mdv2007.1.x86_64.rpm
     576[... build process ...]
     577Checking validity of rpms with rpmlint... E: netperf no-changelogname-tag
     578E: netperf non-readable /usr/share/doc/netperf-2.4.4/README 0640
     579E: netperf non-readable /usr/share/doc/netperf-2.4.4/INSTALL 0640
     580E: netperf non-readable /usr/share/doc/netperf-2.4.4/AUTHORS 0640
     581E: netperf non-readable /usr/share/doc/netperf-2.4.4/NEWS 0640
     582E: netperf zero-length /usr/share/doc/netperf-2.4.4/NEWS
     583E: netperf non-readable /usr/share/doc/netperf-2.4.4/COPYING 0640
     584E: netperf non-readable /usr/share/doc/netperf-2.4.4/ChangeLog 0640
     585E: netperf info-files-without-install-info-postin /usr/share/info/netperf.info.bz2
     586E: netperf info-files-without-install-info-postun /usr/share/info/netperf.info.bz2
     587E: netperf no-signature
     588E: netperf no-changelogname-tag
     589E: netperf no-signature
     590$
     591}}}
     592So this time we have an RPM !
    322593
    323594= Example of use on LinuxCOE (more complex example) =