[opensuse-packaging] Re: [opensuse-buildservice] %clean section in rpm packages in OBS
Hi Nelson, This sounds great. Does anyone know if a wiki page will be created / updated about how spec files should look like? As I look at your reply, I'm thinking about SLE(S|D)10 and maybe even SLE(S|D)11 they won't be handling a missing %clean correctly as their rpm is 4.4.2. So I wonder if it's a good idea to remove %clean now? Regards, Joop. On Fri, December 23, 2011 11:25 pm, Nelson Marques wrote:
With RPM 4.9+ you no longer require the %clean section, it's done automatically. There's the new %check section amongst other things... Newer versions of RPM shouldn't require either the %defattr(-,root,root,-) as they should be doing it by default... and if things are like in Fedora, the BuildRoot should be handled automatically also (not sure if implemented on OBS).
NM
2011/12/23 Joop Boonen <joop.boonen@boonen.org>:
All,
I have a question lately I see spec files that have been changed with the remark (cf. specfile guidelines).
The %clean section has been removed for example, this doesn't feel right to me.
Does anyone know something about the cf. specfile guidelines? Did I miss something?
Regards,
Joop.
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- Nelson Marques
/* http://www.marques.so  nmo.marques@gmail.com */
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 12/23/2011 11:49 PM, Joop Boonen wrote:
Hi Nelson,
This sounds great. Does anyone know if a wiki page will be created / updated about how spec files should look like?
As I look at your reply, I'm thinking about SLE(S|D)10 and maybe even SLE(S|D)11 they won't be handling a missing %clean correctly as their rpm is 4.4.2.
So I wonder if it's a good idea to remove %clean now?
Yes its a good idea, OBS handles it itself. Regards. -- Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, December 24, 2011 12:03 am, Ismail Donmez wrote:
On 12/23/2011 11:49 PM, Joop Boonen wrote:
Hi Nelson,
This sounds great. Does anyone know if a wiki page will be created / updated about how spec files should look like?
As I look at your reply, I'm thinking about SLE(S|D)10 and maybe even SLE(S|D)11 they won't be handling a missing %clean correctly as their rpm is 4.4.2.
So I wonder if it's a good idea to remove %clean now?
Yes its a good idea, OBS handles it itself.
But what if someone uses a srpm package for SLED/SLES10 and builds this one locally via rpmbuild won't this cause problems?
Regards.
-- Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Regards, Joop. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Ismail Donmez
-
Joop Boonen