[libhid-discuss] calling all users of RPM-based distributions...

Charles Lepple clepple at ghz.cc
Thu May 3 13:39:38 UTC 2007


On May 3, 2007, at 9:31 AM, Xiaofan Chen wrote:

> [mcuee at localhost 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





More information about the libhid-discuss mailing list