Mailinglist Archive: opensuse-packaging (205 mails)

< Previous Next >
Re: [opensuse-packaging] help with naming please - shared library policy naming problem
Thanks to everyone for the help.

On 09/29/2011 05:25 PM, Cristian Morales Vega wrote:
On 29 September 2011 22:11, Robert Schweikert<rjschwei@xxxxxxxx> wrote:
Thanks for the help.

Some questions below.

On 09/29/2011 04:38 PM, Dimstar / Dominique Leuenberger wrote:
Hi Robert,

On Thu, 2011-09-29 at 16:30 -0400, Robert Schweikert wrote:
The spec file starts out with:

Name: libswfdec-0_8-0

Don't do that: keep Name in sync with the upstream project name /
tarball name.
You don't want to rename the package with every version bump.
Hmmm, I can see that keeping "Name: swfdec", i.e. with the upstream tarball,
would be desirable in a way. But then I end up having to define %package and
other sections for what is now the "default". This would imply more editing
on a version bump than changing the value for "Name:"
There is a bit of extra work at first, but I don't see any extra work
at all on a version bump.

this will meet the shared library policy for "libswfdec" :) . I also
have a section in the spec file for the gtk library; this looks as
follows:
%package gtk
.....

for all libs, use
%package -n libswfdec-0_8-0
%package -n libswfdec-gtk-0_8-0
Would there be no complaint if there is nothing packaged for whatever is
specified with "Name: ..."?
There will be, the src.rpm.


--
Robert Schweikert MAY THE SOURCE BE WITH YOU
SUSE-IBM Software Integration Center LINUX
Tech Lead
rjschwei@xxxxxxxx
rschweik@xxxxxxxxxx
781-464-8147

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

< Previous Next >