Mailinglist Archive: opensuse-packaging (182 mails)

< Previous Next >
Re: [opensuse-packaging] pre_checkin.sh and prepare_spec
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Mon, 22 Jun 2009 17:02:34 +0200
  • Message-id: <20090622150234.GD17824@xxxxxxxxxxxxxxxxxxxxxxx>
On 2009-06-22 16:47:51 +0200, Stephan Kulow wrote:
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.

can you add it to the bug please?

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >