Mailinglist Archive: opensuse-packaging (182 mails)

< Previous Next >
Re: [opensuse-packaging] pre_checkin.sh and prepare_spec
  • From: Stephan Kulow <coolo@xxxxxxx>
  • Date: Mon, 22 Jun 2009 16:47:51 +0200
  • Message-id: <200906221647.52301.coolo@xxxxxxx>
Am Samstag 20 Juni 2009 schrieb Marcus Rueckert:
hi,

in the past it was enough to copy your spec and tweak the name field.
prepare_spec grabbed all other informations from the pdb and replaced
the incorrect values for e.g. group/summary/description.

this no longer happens and you have to take care in your pre_checkin.sh
scripts or we need to find some kind of other replacement for this

tracked under https://bugzilla.novell.com/show_bug.cgi?id=514928

I fixed this for the pre_checkin.sh in bundle-lang-common now in having a
little perl script that I call like this:

perl update_spec.pl oldfile attributes > newfile

this reads Summary, Description, Group and License out of the attributes
file and updates the spec file. The attributes file I created from pdb
content.

Greetings, Stephan

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References