Description of problem: I have been trying to recompile NM in order to try out a patch which might fix a network connection problem. There seems to be a problem with the checks at the start of the spec file: rpmbuild -ba NetworkManager.spec error: parse error in expression error: /home/adam/rpmbuild/SPECS/NetworkManager.spec:15: parseExpressionBoolean returns -1 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) Version-Release number of selected component (if applicable): 0.6.4-5.fc6 How reproducible: Every time Steps to Reproduce: 1. 2. 3. Actual results: .src.rpm should install normally Expected results: Additional info:
It will compile if you add --define 'fedora 6' but it will fail later on this error: NetworkManagerDbus.c: In function 'nm_dbus_init': NetworkManagerDbus.c:837: error: 'DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT' undeclared (first use in this function) I'm concerned that no updates to NetworkManager were ever pushed for FC-6 even though the FC-6 branch in CVS seems to contain a number of useful patches. There were FC-6 updates from dbus 0.93 to dbus 1.0.1, but NM didn't catch up. How can I help ?
Should be fixed in F7 and later at least, that RPM should also work on FC6.