On May 3, 2007, at 9:31 AM, Xiaofan Chen wrote:
[EMAIL PROTECTED] libhid]$ sudo rpmbuild -tb libhid-0.2.16.tar.gz error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package)
Sorry, our replies crossed. I gave that command as an example only. In order for this to be useful, I need to move the old rpm/ libhid.spec to rpm/libhid.spec.in and then do some magic to get autoconf to substitute in the version, etc.
Also, if you have proper permissions to /usr/src/redhat (or if you change the %topdir macro to your home directory - I think that's the name), you don't need to be root to build RPMs, particularly when they have a BuildRoot field in the spec file.
-- Charles Lepple _______________________________________________ libhid-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

