[Serdev] update of RPM spec file
Alfred E. Heggestad
aeh at db.org
Tue Jan 16 12:17:12 UTC 2007
hi
I am trying to build an RPM package from the current spec file in CVS,
it seems that the spec file is a bit out of date.. I noted some issues:
* The version tag does not allow any dash ('-') in the version number.
To get around this I put the "-dev64" in the release tag instead:
%define ver 0.10.99
%define rel dev64
and updated Source tag:
Source: http://iptel.org/ser/stable/%{name}-%{ver}-%{rel}_src.tar.gz
it seems to work, any other preferred way of doing this?
* The list of files is out of sync with the codebase, at the end of the
RPM build process I get:
RPM build errors:
File not found: /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.acc
File not found: /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.auth_diameter
File not found: /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.ext
File not found: /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.group
File not found: /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.mangler
File not found: /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.pa
File not found: /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.vm
File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/acc.so
File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/auth_diameter.so
File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/ext.so
File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/group.so
File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/mangler.so
File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/pa.so
File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/vm.so
attached is a suggested patch updating the RPM spec file. the spec file
probably needs more updating wrt other modules like PA etc.
should I create a bug in the tracker for this ?
/alfred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ser-0.10-rpm.patch
Type: text/x-patch
Size: 3866 bytes
Desc: not available
Url : http://lists.iptel.org/pipermail/serdev/attachments/20070116/9108a5c2/ser-0.10-rpm.bin
More information about the Serdev
mailing list