[freetds] Building RPM

Ciro Iriarte cyruspy at gmail.com
Sun Aug 6 04:03:06 EDT 2006


Hi, i'm currently trying to build an rpm for SuSE (SLES9) using the supplied 
spec file, i have the same problem with v0.64 and v0.65.20060805

Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.70453
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd freetds-0.64
+ DOCDIR=/var/tmp/freetds-buildroot/usr/share/doc/packages/freetds-doc
+ export DOCDIR
+ rm -rf /var/tmp/freetds-buildroot/usr/share/doc/packages/freetds-doc
+ /bin/mkdir -p 
/var/tmp/freetds-buildroot/usr/share/doc/packages/freetds-doc
+ cp -pr doc/doc/freetds-0.64/userguide doc/images 
doc/doc/freetds-0.64/reference 
/var/tmp/freetds-buildroot/usr/share/doc/packages/freetds-doc
+ exit 0
Finding  Provides: /usr/lib/rpm/find-provides
Finding  Requires: /usr/lib/rpm/find-requires
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 
rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/var/tmp/freetds-buildroot
error: Installed (but unpackaged) file(s) found:
   /usr/share/doc/freetds-0.64/images/important.gif
   /usr/share/doc/freetds-0.64/images/note.gif
   /usr/share/doc/freetds-0.64/images/tip.gif
   /usr/share/doc/freetds-0.64/reference/a00069.html
   /usr/share/doc/freetds-0.64/reference/a00080.html
   /usr/share/doc/freetds-0.64/reference/a00086.html
   /usr/share/doc/freetds-0.64/reference/a00087.html
   /usr/share/doc/freetds-0.64/reference/a00088.html
   /usr/share/doc/freetds-0.64/reference/a00090.html
   /usr/share/doc/freetds-0.64/reference/a00092.html
   /usr/share/doc/freetds-0.64/reference/a00121.html
   .....
   ....
   ....

And i end with dupplicated docs, anybody could build an rpm?

linux:/var/tmp/freetds-buildroot/usr/share/doc #.
|-- freetds-0.64 <-- shouldn't exist
|   |-- images
|   |-- reference
|   `-- userguide
`-- packages
    |-- freetds
    |   |-- AUTHORS
    |   |-- BUGS
    |   |-- COPYING
    |   |-- COPYING.LIB
    |   |-- ChangeLog
    |   |-- INSTALL
    |   |-- NEWS
    |   |-- README
    |   `-- TODO
    `-- freetds-doc
        |-- images
        |-- reference
        `-- userguide

I need to build rpm files instead of using manual compiles because i need to 
install it in many systems (easy restore too)

Thanks in advanced.
Ciro Iriarte 






More information about the FreeTDS mailing list