September 19, 2011

Factory and package guidelines

I see some changes going into Factory that apply current packaging guidelines to packages.

To summarize some of the cleanups you can find as submit requests: (no guarantee that those are actual guidelines. Check yourself)

  • Remove redundant information:
-# norootforbuild
  • Remove AutoReqProv: on (I guess because it is on by default)
-Authors:
----------
- Bob Esponja
- Peter Parker
  • New macro for parallel builds:
+%check
+
make check
  • Don’t clean the builroot yourself:
-%clean
-rm -rf $RPM_BUILD_ROOT
-