On Mon, 19 Sep 2011 02:44:36 +0200 (CEST)
Jan Engelhardt
vuntz mentioned it might be good to inform people, though I doubt anyone is going to read this..
As you may have noticed I am going through all factory packages to implement a few of the specfile guidelines[1] in semi-automated fashion, among them the following subtasks:
[1] http://en.opensuse.org/openSUSE:Specfile_guidelines
automated: - removal of '# norootforbuild' - removal of 'AutoReqProv: on' since this is default anyway manual: - removal of Authors list, no longer desired in factory - removal of %clean section, no longer required - removal of rm -Rf %buildroot in %install when spotted, [1] - changing %{?%jobs:-j%jobs} to %_smp_mflags, [1] - adding %{?_smp_mflags} whereever there is none, or - tagging places more explicitly where parallel build does not work by utilizing the grepable string "-j1" plus a comment if none exists - replacing CFLAGS="$RPM_OPT_FLAGS" ./configure --bindir=%_bindir --infodir=%_infodir ... (and similar) by %configure [shorter] - shlib policy where it seems quick - killing old %changelog (because it's in .changes already)
Keep in mind: - obs-service-format_spec_file has been configured for a handful of projects and is adding more line noise besides my actual changes
So far.
Hi I noticed and read ;) So a couple of questions how will these changes affect for example SLE rpms (I'm a SLED/SLES user as well) and if a user decided to use rpmbuild on an older system, will these changes break this? -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop up 6 days 6:38, 3 users, load average: 0.09, 0.21, 0.19 GPU GeForce 8600 GTS Silent - Driver Version: 280.13 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org