| 321 | Well 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 | {{{ |
| 323 | tar tvfz /users/bruno/netperf/delivery/netperf-2.4.4.tar.gz |
| 324 | drwxr-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 |
| 327 | drwxr-xr-x bruno/users 0 2007-11-16 00:57 netperf-2.4.4/pbconf/ |
| 328 | drwxr-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 |
| 330 | drwxr-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 |
| 332 | drwxr-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 |
| 334 | drwxr-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 |
| 336 | drwxr-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 |
| 338 | drwxr-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 |
| 340 | drwxr-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 |
| 342 | drwxr-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 |
| 344 | drwxr-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 |
| 346 | drwxr-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 |
| 348 | drwxr-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 |
| 350 | drwxr-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 |
| 358 | drwxr-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 |
| 366 | drwxr-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 |
| 374 | drwxr-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 |
| 376 | drwxr-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 |
| 378 | drwxr-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 |
| 380 | drwxr-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 |
| 388 | drwxr-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 |
| 390 | drwxr-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 |
| 392 | drwxr-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 |
| 394 | drwxr-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 |
| 396 | drwxr-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 |
| 398 | drwxr-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 |
| 400 | drwxr-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 |
| 402 | drwxr-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 |
| 417 | drwxr-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 |
| 421 | drwxr-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 | }}} |
| 444 | As 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 | |
| 446 | So now, we can try to go to the next step and build a package. So issue: |
| 447 | {{{ |
| 448 | pb -p netperf -r `pwd` build2pkg |
| 449 | Project: netperf |
| 450 | Action: build2pkg |
| 451 | Packages: netperf |
| 452 | Source file: /users/bruno/netperf/delivery/netperf-2.4.4.tar.gz |
| 453 | Working directory: /users/bruno/netperf/build |
| 454 | Extracting build files... OK |
| 455 | Building 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 |
| 466 | cd . && /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 |
| 468 | WARNING: `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. |
| 472 | cd . && \ |
| 473 | /bin/sh /users/bruno/netperf/build/BUILD/netperf-2.4.4/missing --run automake-1.7 --gnu Makefile |
| 474 | cd . && /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 |
| 476 | WARNING: `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 ...] |
| 482 | make[2]: Leaving directory `/users/bruno/netperf/build/BUILD/netperf-2.4.4' |
| 483 | make[1]: Leaving directory `/users/bruno/netperf/build/BUILD/netperf-2.4.4' |
| 484 | + exit 0 |
| 485 | Executing(%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 |
| 492 | Making install in src |
| 493 | [... build execution continues ...] |
| 494 | Checking for unpackaged file(s): /usr/lib/rpm/check-files /users/bruno/netperf/build/tmp/netperf-2.4.4-1PBSUF-root-bruno |
| 495 | error: 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 | |
| 503 | RPM 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 |
| 510 | child (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 | }}} |
| 512 | So 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 | |
| 514 | The 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 | |
| 516 | Project-Builder provide a means when exporting the software to build a coherent automake/autoconf setup by the way of the pbinit script. |
| 517 | |
| 518 | Create now such a script for your project: |
| 519 | {{{ |
| 520 | $ cat > pbconf/netperf/pbinit << EOF |
| 521 | #!/bin/bash |
| 522 | aclocal |
| 523 | autoconf |
| 524 | automake |
| 525 | EOF |
| 526 | $ chmod 755 pbconf/netperf/pbinit |
| 527 | }}} |
| 528 | Then it seems that the PBSUF macro isn't expanded correctly. Look for it using a Project-Builder tool: |
| 529 | {{{ |
| 530 | pbg 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 | }}} |
| 535 | So 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 |
| 546 | filter 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) |
| 552 | filter PBSUF = $pbsuf |
| 553 | |
| 554 | # PBOBS is replaced by the Obsolete line |
| 555 | #filter PBOBS = |
| 556 | }}} |
| 557 | And 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 | |
| 569 | Now you're ready for your second run ! |
| 570 | {{{ |
| 571 | $ pb -p netperf -r `pwd` cms2pkg |
| 572 | [... build process ...] |
| 573 | Wrote: /users/bruno/netperf/build/SRPMS/netperf-2.4.4-1.mdv2007.1.src.rpm |
| 574 | Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-2.4.4-1.mdv2007.1.x86_64.rpm |
| 575 | Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-debug-2.4.4-1.mdv2007.1.x86_64.rpm |
| 576 | [... build process ...] |
| 577 | Checking validity of rpms with rpmlint... E: netperf no-changelogname-tag |
| 578 | E: netperf non-readable /usr/share/doc/netperf-2.4.4/README 0640 |
| 579 | E: netperf non-readable /usr/share/doc/netperf-2.4.4/INSTALL 0640 |
| 580 | E: netperf non-readable /usr/share/doc/netperf-2.4.4/AUTHORS 0640 |
| 581 | E: netperf non-readable /usr/share/doc/netperf-2.4.4/NEWS 0640 |
| 582 | E: netperf zero-length /usr/share/doc/netperf-2.4.4/NEWS |
| 583 | E: netperf non-readable /usr/share/doc/netperf-2.4.4/COPYING 0640 |
| 584 | E: netperf non-readable /usr/share/doc/netperf-2.4.4/ChangeLog 0640 |
| 585 | E: netperf info-files-without-install-info-postin /usr/share/info/netperf.info.bz2 |
| 586 | E: netperf info-files-without-install-info-postun /usr/share/info/netperf.info.bz2 |
| 587 | E: netperf no-signature |
| 588 | E: netperf no-changelogname-tag |
| 589 | E: netperf no-signature |
| 590 | $ |
| 591 | }}} |
| 592 | So this time we have an RPM ! |