Mailinglist Archive: opensuse-packaging (42 mails)

< Previous Next >
Re: [opensuse-packaging] Building a source package

On piÄ…, May 3, 2019 at 7:10 PM, Axel Braun <axel.braun@xxxxxx> wrote:
Hi all,

I want to ask for your recommendations to build a sources package, resp. to
include the sources in the development package.

First of all, is there a standard path where it should go? like /usr/src/
<package>?
Second, the idea to create the source package is 'just' to copy the source to
the target folder,

cp -r build/* /usr/src/<package>/.

and then install it in the %files section. Any better proposal?

Hi,

I feel like there is not enough context here, in case of C/C++ headers, there
is a standard directory for those, if the sources are for something else, most
languages have standard directories for this kind of files. If it's totally
custom thing altogether, in case of gfxboot themes used for building openSUSE
theme, the files are packaged in -devel, then copied over into another package
from a %{_datadir}/gfxboot directory during build. Source packages however are
automatically generated from sources put into obs, which I guess wouldn't be
ideal for this ;)

LCP [Stasiek]
https://lcp.world


--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References